> I need some help with a program, I need to get every
> instance of text between <a href =""> GET TEXT HERE
> </a> and save the results in a variable. Does anyone
> have some example code of how to do it along with how
> to put the results into just one variable?
Try with:
$string = "<a href =\"\">GET TEXT HERE</a>";
$string = strip_tags($string);
--
Henrik Hansen
--
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]