Hi Alawi,

> I want to take string between <table></table> tags in put it
> in variable 

preg_match ("|<table>([^</table>]*)</table>|i", $str, $match);

$match[1] will contain the string between <table></table>

--
Jimmy
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Fate shuffles the cards and we play with them



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to