Why are you running mercury?
I'm not even sure what that does but it definitely isn't necessary
I click register in my site and writes this :Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in D:\xampp\htdocs\modules\register.php on line 59
Registration Failed!
Last edited by doomerr; 07-08-09 at 12:02 PM.
I go to my site and click register and writes this:Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in D:\xampp\htdocs\modules\register.php on line 59"
AND I USE XAMPP FOR MY SITE.
there`s a problem of your cms or your site ^^
use the dynasty 7 that`s a perfect cms heheh ^^
for me it`s the best
i don`t know to you hehehe/^^
This means that you have an error in the SQL query which typically runs on the line before the one it reports in the error.
The problem is not with mysql_num_rows() at all
It is almost certainly that the previous query is doing something wrong, such as in the 'WHERE' clause.
It is looking for a field that doesn't exist (or is spelled differently) in your DB
---------- Post added at 09:40 AM ---------- Previous post was at 09:34 AM ----------
This is completely unnecessary.
The guy asked a perfectly normal question.
Consider this a warning.
If I see any more posts like this from you I will give an infraction.
If you have personal problems with this person then take it out of the public forums.
This is a place that people come for help, not to read this kind of rubbish.
Can you give me link for SQL because i no have SQL.
I don't need to calm down. I'm perfectly calm.
I'm also a moderator and as such it is my job to make sure these forums stay friendly so please when you feel like flaming somebody, just don't hit the "post reply" button OK?
---------- Post added at 09:25 AM ---------- Previous post was at 09:23 AM ----------
You stated above that you use Xampp.
Xampp contains mysql. It's all you need
I have mysql because I have server :Delux-Rose
Can i fix this problem i need your help .
I already told you your php code has an error in your sql query.
Chances are the query is addressing a field that doesn't exist in your database. Probably a typo in the field name.
Double check all the field names against the names it's using in the php code on the line immediately before the error.
Can you show me with screenshot ?
No problem