I am getting the following error when trying to login to my site:
Warning: Supplied argument is not a valid MySQL result resource in /usr/local/psa/home/vhosts/hiphopg.com/httpdocs/login/post.php on line 13
Warning: Cannot add header information - headers already sent by (output started at /usr/local/psa/home/vhosts/hiphopg.com/httpdocs/login/post.php:13) in /usr/local/psa/home/vhosts/hiphopg.com/httpdocs/login/post.php on line 36
Everything looks okay but I can't seem to figure it out.
If you could even tell me what the error is eluding to that would help. (And yes I know it means something is wrong in lines 13 and/or 36)
Here is line 13 and 36. Please email if you need more info. Thank you.
Line 12: if ($myrow2 = mysql_fetch_array($result2)) {
Line 36: header "Location:http://www.hiphopg.com/login/invalid.php");