czukoman20 Posted April 29, 2009 Share Posted April 29, 2009 I am trying to make the match preg_match('/<span id=HIL_c><font color="(.*?)"><b >\(.*?)<\/b>/', $contents, $output); $output2 = $output[0]; echo $output2; when it does this... I get nothing.. but if i were to put the color and the info in the other area... It will display it no problem, so the preg match is seeing the match. I'm pretty sure it has something to do with my output, but i'm out of options .. so please help. much appreciated Quote Link to comment Share on other sites More sharing options...
Ken2k7 Posted April 29, 2009 Share Posted April 29, 2009 You can always check the output array. var_dump($output); Quote Link to comment Share on other sites More sharing options...
czukoman20 Posted April 29, 2009 Author Share Posted April 29, 2009 It says Null... What does that mean? If i put the info in there it says. String(52) then the info 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.