msql error
Brought to you by:
frankiek3
When i want to update my patch panel i get this error
message:
Update Panel
Warning: mysql_fetch_array(): supplied argument is not
a valid MySQL result resource in
/var/www/netdb/netdb/upanel.php on line 38
Warning: mysql_free_result(): supplied argument is not
a valid MySQL result resource in
/var/www/netdb/netdb/upanel.php on line 51
Please enter an interger for the number of Terminations
to add to this Panel. No Terminations were added to the
Panel.
Logged In: YES
user_id=1394469
I can not test it this minute but this looks to be the
problem: "panel_idx" should be "panelID" in line 37 and
111. The following lines are correct.
Line 37:$statement=mysql_query("SELECT termination_idx
FROM termination WHERE panelID='$panel_idx'");
line 111:$statement=mysql_query("SELECT termination_idx
FROM termination WHERE panelID='$panel_idx'");
Thank you for you help and support.
upanel.php