a bevy of mysql_num_rows(): errors

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
bostone737
Forum Newbie
Posts: 1
Joined: Tue Dec 20, 2005 8:08 pm

a bevy of mysql_num_rows(): errors

Post 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
hongco
Forum Contributor
Posts: 186
Joined: Sun Feb 20, 2005 2:49 pm

Post by hongco »

phpmyspace is a commercial application - why not contact the one whom you got the script from for help first!
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post 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.
Post Reply