Page 1 of 1

a bevy of mysql_num_rows(): errors

Posted: Tue Dec 20, 2005 8:46 pm
by bostone737
hello.. I'm very new in the php world and I just uploaded PHPMySpace and am now getting the following errors..

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /mnt/storage/users/s/w/e/sweetasianrose/PHPMySpace/functions.php on line 42

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /mnt/storage/users/s/w/e/sweetasianrose/PHPMySpace/functions.php on line 50

Warning: Cannot modify header information - headers already sent by (output started at /mnt/storage/users/s/w/e/sweetasianrose/PHPMySpace/functions.php:42) in /mnt/storage/users/s/w/e/sweetasianrose/PHPMySpace/index.php on line 73

and in the banner section:

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /mnt/storage/users/s/w/e/sweetasianrose/PHPMySpace/functions.php on line 76

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /mnt/storage/users/s/w/e/sweetasianrose/PHPMySpace/functions.php on line 77


and the footer section:

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /mnt/storage/users/s/w/e/sweetasianrose/PHPMySpace/functions.php on line 130

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /mnt/storage/users/s/w/e/sweetasianrose/PHPMySpace/functions.php on line 131



any suggestions?? Is it all related to one problem? Or should i post the functions.php data here? im pretty unexperienced with php.. so any help would be appreciated.. thanks

Posted: Tue Dec 20, 2005 9:01 pm
by hongco
phpmyspace is a commercial application - why not contact the one whom you got the script from for help first!

Posted: Tue Dec 20, 2005 9:15 pm
by feyd
I'll take a stab at guessing that the result from mysql_query() associated with each error is incorrect or has a syntax error of some sort. Check the code that calls the functions.