reindeer.
03-08-2006, 05:57 PM
Hi, I just uploaded a DJ panel - http://www.samsterteenzradio.com/staff2/Panel But I cant create a user, and when I just click the login link, I get this error...
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/sradio/public_html/staff2/Panel/index.php on line 35
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/sradio/public_html/staff2/Panel/index.php on line 37
Your Username And Password Did Not Match
Line 35 has this:
list($user) = mysql_fetch_array(mysql_query("SELECT `username` FROM `staff` WHERE username='$user1_post'"));
Line 37 has this:
list($pass) = mysql_fetch_array(mysql_query("SELECT `password` FROM `staff` WHERE password='$pass1_post'"));
Any ideas whats wrong and how I could create a user?
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/sradio/public_html/staff2/Panel/index.php on line 35
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/sradio/public_html/staff2/Panel/index.php on line 37
Your Username And Password Did Not Match
Line 35 has this:
list($user) = mysql_fetch_array(mysql_query("SELECT `username` FROM `staff` WHERE username='$user1_post'"));
Line 37 has this:
list($pass) = mysql_fetch_array(mysql_query("SELECT `password` FROM `staff` WHERE password='$pass1_post'"));
Any ideas whats wrong and how I could create a user?