Tim wrote:
 
> i have a string that contains the following:
> $mystring=<<<EOS
> (((TITLE)))
> *color*
> ==
> this is where the content goes
> it can spreed many lines
> ...
> ==
> EOS;
> 
> i'm using this line of code to try and get the content between == and ==
> 
> preg_match_all("|==(.+)==|",$mystring,$contents,PREG_PATTERN_ORDER);
> 
> now, if i do a print_r($contents); the thing is empty. but if i put the content of 
> my original variable all on one line (== line 1 _
> line 2 _ line 3 _==), it works fine. is there something to get around this one line 
> limit?

 <url:http://pl.php.net/manual/en/pcre.pattern.modifiers.php>

-- 
Seks, seksić, seksolatki... news:pl.soc.seks.moderowana
http://hyperreal.info / ALinkA / bOrk! *  WiNoNa )   (
http://szatanowskie-ladacznice.0-700.pl  foReVeR(  *  )
Poznaj jej zwiewne kształty... http://www.opera.com 007


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to