Hi All.
Any help with this, (especially very quickly, is much appreciated)
I'm trying to get some info out from between a couple of tags within a XML file.
USING :
$showblocks = (preg_match_all('/<BLOCK TYPE=\"[text, image, table, list]+\"><ID>\d+<\/ID>(., \n (?=<\/BLOCK>))*/is', $file_contents, $patern_results, PREG_PATTERN_ORDER)) ;
Gets me the
<BLOCK TYPE=\"[text, image, table, list]+\"><ID>\d+<\/ID>
part,
How do I get the
., \n
part , (sub), passed??
This is driving me crazy.
Thanks to anyone who can help.
Cheers.
Glen.