Re: [PHP] take links from url

2002-01-07 Thread Jimmy
Hi Alawi, > I want to take string between tags in put it > in variable preg_match ("|([^]*)|i", $str, $match); $match[1] will contain the string between -- Jimmy Fate shuffles the cards and we play with them -- PHP General Mailing List (http://www.php.net/)

Re: [PHP] take links from url

2002-01-06 Thread Matt Moreton
You could use the following preg statement: preg_match_all( "/(.*(?=<\/table>))/", $string, $output, PREG_SET_ORDER ); This would put all matches of some code, text, whatever into the $output array. however you would start to have problems when you come across nested tables. You'd need somethi