Preg_match unknown modifyer


Posted on 16th Feb 2014 07:03 pm by admin

Hello,

Im trying to write a little script for my forums i need to get the reply from my forums. Im trying this

Did you know?Explore Trending and Topic pages for more stories like this.
Code: $pattern = '/<span class="postbody">(.*?)</span>/gis';
preg_match($pattern, $post, $video);

However inside the stuff its grabbing there is stuff code like </p> etc and it keeps trying to use that as a modifier so i get the following error:

QuoteWarning: preg_match() [function.preg-match]: Unknown modifier 'p' in /home/roms43c/public_html/porn_grab.php on line 21

Does anyone know a way around this?
No comments posted yet

Your Answer:

Login to answer
338 Like 15 Dislike
Previous forums Next forums
Other forums

Impact of movement type 412 E on MAP
Hi

Usage of movement type 412 E is causing huge change in MAP .

Is there any r

my sql select id and then update problem.
I need to select some auto incremented ids out of a database and then use those id in a where statem

Need help in log in and log out?
hi there all of u. i have recently created a site for someone. i have placed log in and log out and

Production of mango in processing industry
Hi,

We have one scenario ,company is in process industry,they are manufacturing MANGO pul

ECC6 - Single sign-on
We are in the process of upgrading to ECC 6 which will support single sign on with user passwords al

PHP Thumbnail Creation
Ok so i use this function to create thumbnails:

Code: [Select]function createthumb($name,$fil

DATEDIFF Question
First time post, and of course it is a help question.

I am using a WP plug-in to display prev

please help me... my password gets encrypted but not able to get in database
hai guys,
please help me... in the following function my password gets encrypted but no

need help with date function
i have following form for date

Code: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01

Save remote XML to local website folder
Hi, I hope you can help me out. I would like to be able to pull an XML file from another site and t

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash