mysql_num_rows error
Posted: Sun Sep 07, 2003 8:47 am
http://lasalas.net/irc/codepaste/view.php?cp_id=166
-------------------------------------------------------------
On line 35, im trying to find out how many albums the user currently has, by using mysql_num_rows on a query that selects id from albums where username= the persons username. I can echo out the query, and input it directly into mysql, and it will select the correct values in the table, however i get an error when i try to do mysql_num_rows.
There is multiple entries for the username i am trying, so thats not the problem.
There's alot of extra stuff in the code atm, please just ignore it(exists part)
Thanks in advance for any help
-------------------------------------------------------------
On line 35, im trying to find out how many albums the user currently has, by using mysql_num_rows on a query that selects id from albums where username= the persons username. I can echo out the query, and input it directly into mysql, and it will select the correct values in the table, however i get an error when i try to do mysql_num_rows.
There is multiple entries for the username i am trying, so thats not the problem.
There's alot of extra stuff in the code atm, please just ignore it(exists part)
Thanks in advance for any help