MikeDXUNL Posted June 10, 2008 Share Posted June 10, 2008 I have the code: <p class="XbcPIGame"><strong>Developer: </strong><a target="_external" href="http://www.edgeofreality.com/">Edge of Reality</a></p> I want to get "Edge of Reality" out of that, here is my PHP: preg_match_all('%<p class="XbxPIGame">(.+?)</p>%s', $data, $developer); when I print_r($developer); nothing comes in the array Thanks in advance, Mike Link to comment https://forums.phpfreaks.com/topic/109518-solved-preg_match_all/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.