dreamci Posted December 28, 2008 Share Posted December 28, 2008 hello i am using this code preg_match("~<item><title>$title</title>\s*<link>(.*?)</link>~i", $go, $link); it works fine but if there is an + in the title then it wont work, does anyone know how to solve this, thanks Quote Link to comment Share on other sites More sharing options...
rhodesa Posted December 28, 2008 Share Posted December 28, 2008 pass it through http://us2.php.net/preg_quote Quote Link to comment Share on other sites More sharing options...
dreamci Posted December 28, 2008 Author Share Posted December 28, 2008 thanks much it works now Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.