...

View Full Version : How to 'preg_match' many of quotes and tags?



redfroc
03-01-2009, 01:06 PM
Dear all,

I want to fetch some data from a website. I want to fetch data between USD</center></td><td valign="top" align="right"> and &nbsp;</td>

I did this but nothing happen..

$grabtitle = preg_match("/USD<\/center><\/td><td[^>]*valign=\"top\"[^>]*align=\"right\">(.*?)\&nbsp\;<\/td>/", $datastrip, $matchtitle);

print_r($matchtitle);

Please help me.

Thank you very much before.. :)



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum