Go Back   Site Owners Forums - Webmaster Forums > Web Programming > Programming General > PHP / mySQL

Notices


Reply
 
Thread Tools Rate Thread Display Modes
Old 09-17-2011, 02:00 AM   #1
wryfhk22
Registered User
 
Join Date: Mar 2011
Posts: 267
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
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
wryfhk22 is offline   Reply With Quote

Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 07:24 PM.


Powered by vBulletin Copyright © 2020 vBulletin Solutions, Inc.