Re: Script feedback: insert string into another string
| From: | Micky Hulse | Date: | Sat, 28 Apr 2007 12:12:12 +0000 |
| Subject: | Re: Script feedback: insert string into another string | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-254056@lists.php.net to get a copy of this message | ||
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>