Re: preg question

From: Date: Wed, 08 Oct 2003 14:51:50 +0000
Subject: Re: preg question
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-165445@lists.php.net to get a copy of this message
* Thus wrote Mike J (collegesucks2@verizonmail.com): > How do I take that and put it into a variable like $title? print_r($matches) will answer that. Btw, I had a typo, it should have been: preg_match("/(<title>)(.*)(<\/\\2>)/i", $html, $matches); Not preg_match_all(). Curt -- "I used to think I was indecisive, but now I'm not so sure."

« previous php.general (#165445) next »