|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
supplied argument not valid
I get this warning when I call a function from one page, but not from another. Any ideas what could cause this to happen on one page but not the other?
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/midwests/www/www/forum/funcs.small.php on line 562 |
|
#2
|
|||||
|
|||||
|
RE: supplied argument not valid
As the error states you are not passing a valid result identifier to the mysql_num_rows() function. This could probably happen if you have an error in your SQL statement.
eg: php Code:
To figure out the try using die() to print out the mysql error |
![]() |
| Viewing: Codewalkers Forums > Other Technologies > Database Help > supplied argument not valid |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|