View Single Post
Old 11-12-2008, 04:07 PM   #4 (permalink)
oMIKEo
The Contributor
 
oMIKEo's Avatar
 
Join Date: Jan 2008
Location: Leeds
Posts: 52
Thanks: 7
oMIKEo is on a distinguished road
Default

Noticed a slight problem now, if there is a return in the middle of the 2 SiteNotes it doesnt display anything. Here is what i have so far:

PHP Code:
$postText $row["post_text"];
preg_match_all('~\[SiteNotes\](.+?)\[/SiteNotes\]~i'$postText$s_SiteNotes); 
Any ideas how to make it find matches even if there is a return in the middle?

Thanks,
Mike
Send a message via MSN to oMIKEo
oMIKEo is offline  
Reply With Quote