My search engine doesnt seem to be parsing the yahooboss api properly. You can see what i mean at this url: http://www.dawilster.com/search.php?q=dell&page=1 elseif($curtag == 'URL') $y_link = htmlentities($data, ENT_QUOTES, 'UTF-8' ); Code (markup): I'm having trouble figuring out which function to remove to make it pull the correct url. Thanks a lot