11-12-2008, 04:07 PM
|
#4 (permalink)
|
|
The Contributor
Join Date: Jan 2008
Location: Leeds
Posts: 52
Thanks: 7
|
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
|
|
|