Site Owners Forums - Webmaster Forums

Site Owners Forums - Webmaster Forums (http://siteownersforums.com/index.php)
-   PHP / mySQL (http://siteownersforums.com/forumdisplay.php?f=10)
-   -   problem with preg_replace() (http://siteownersforums.com/showthread.php?t=51118)

wryfhk22 09-17-2011 02:00 AM

problem with preg_replace()
 
Hey, got myself a problem with getting preg_replace() to work correctly. I have set up some pattern arrays and replacements arrays, the code seem to work, but everything echo'ed after the preg_replace echo isnt beeing outputted. that also includes text after the replaced string. heres an example of how i have done it:

is there something in this code preventing me from outputting "bombombom" and $examplevariable3? should i be using this in the insert section of this script instead?

any help would be appreaciated
Thx in advance


All times are GMT -7. The time now is 05:43 PM.


Powered by vBulletin Copyright © 2020 vBulletin Solutions, Inc.