Re: Script feedback: insert string into another string

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Tijnema! You rock! Another great catch. :)

Tijnema ! wrote:
...<snip>...
the eregi function. So like this:
if(eregi('[0-9A-Za-zÀ-ÖØ-öø-ÿ]', $array[$i])) {
becomes:
if(eregi('[0-9A-Za-zÀ-ÖØ-öø-ÿ]', strip_tags($array[$i]))) {
That would fix it :)

Just updated the code. (Hehe, tis hard to catch those zzZZzz's when my mind is thinking in code.)

<http://www.ambiguism.com/sandbox/insert/insert.phps>

Has anyone told you that you are a very good beta tester! :D

I hope I did it right... Looks like I may still be having the same problems (word count = "2", and separator = "| |":


| |Vestibulum urna.

<h6>Test

| |header</h6>

Nam egestas

| |rhoncus nisl.


Hmmm, going to stare at this code for a bit... Many thanks again for your help -- it really helps having that second pair of eyes.

I will post again if I significantly update the code. ;)

Thanks Tijnema! I really appreciate your time, help, and expertise.

Cheers,
Micky

--
Wishlists: <http://snipurl.com/1gqpj>
   Switch: <http://browsehappy.com/>
     BCC?: <http://snipurl.com/w6f8>
       My: <http://del.icio.us/mhulse>

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux