PDA

View Full Version : PHP Error.



Lysine
10-10-2006, 09:37 AM
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/hablaugh/public_html/djpanel/Panel/timetable/form.php on line 170

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/hablaugh/public_html/djpanel/Panel/timetable/form.php on line 380

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/hablaugh/public_html/djpanel/Panel/timetable/form.php on line 590

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/hablaugh/public_html/djpanel/Panel/timetable/form.php on line 798

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/hablaugh/public_html/djpanel/Panel/timetable/form.php on line 1006

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/hablaugh/public_html/djpanel/Panel/timetable/form.php on line 1214

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/hablaugh/public_html/djpanel/Panel/timetable/form.php on line 1422
Perm Show / DJ Slot Added!

Could anybody sort it out?

Heinous
10-10-2006, 01:28 PM
Means that a column in your sql query is invalid.

beer
10-10-2006, 01:37 PM
dentafrices dj panel? did u edit the dbconfig.php in timetable folder?

Heinous
10-10-2006, 01:44 PM
dentafrices dj panel? did u edit the dbconfig.php in timetable folder?
It wouldn't be connection probs with the db, because it connects fine. Otherwise it would return an error about connection issues.

edit;
That is, assuming that's all the errors the person is seeing?

CHTom
10-10-2006, 03:05 PM
Yeah, Your php code is looking for or trying to add something into a column which doesnt exist in your mysql database.

Tomm
10-10-2006, 03:17 PM
Yeah, Your php code is looking for or trying to add something into a column which doesnt exist in your mysql database.

How is this trying to add something to the database? mysql_num_rows get the number of rows in the table. Check your SQL query and make sure the table exsists and that you have selected the right database by using mysql_select_db

CHTom
10-10-2006, 03:19 PM
How is this trying to add something to the database? mysql_num_rows get the number of rows in the table. Check your SQL query and make sure the table exsists and that you have selected the right database by using mysql_select_db


Sorry Master, I didnt really read the function it was doing.

I only read the invalid resource bit.

Want to hide these adverts? Register an account for free!