Jump to content

[SOLVED] mysql_num_rows error


182x

Recommended Posts

Hey guys,

 

Sorry for another newbie question but with the code below I get this error

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\a\processLogin.php on line 37

 

I was just wondering what ive done wrong. Today is not my day.

 

line 37:
if (mysql_num_rows($qu) > 0 )

 

solved now my bad.

Link to comment
https://forums.phpfreaks.com/topic/59700-solved-mysql_num_rows-error/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.