Welcome! Log In Create A New Profile

Advanced

warning massages from mysql

Posted by FinalOracle 
Announcements Last Post
Announcement SoC Curricula 09/30/2017 01:08PM
Announcement Demarcation or scoping of examinations and assessment 02/13/2017 07:59AM
Announcement School of Computing Short Learning Programmes 11/24/2014 08:37AM
Announcement Unisa contact information 07/28/2011 01:28PM
warning massages from mysql
October 05, 2012 08:42AM
hi

my site works, but i get this warning massage after registering a new user to my site:

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource

can anyone please assist
avatar
Mac
Re: warning massages from mysql
October 05, 2012 08:45AM
Error in your query statement
Re: warning massages from mysql
October 05, 2012 12:20PM
is there another query statement to find the number of rows in result, besides

$num_rows = mysql_num_rows('$result'winking smiley;
avatar
Mac
Re: warning massages from mysql
October 05, 2012 03:02PM
This is the one to use.
Re: warning massages from mysql
October 06, 2012 01:24PM
Hi FinalOracle,

Your problem might be in your $result query statement, post your query statements as needed & I'll comment on it for you.
Re: warning massages from mysql
October 18, 2012 12:57PM
hi

got it right, by using the query (mysql_num_rows('$result'winking smiley , direct as a condition of the if statement
Sorry, only registered users may post in this forum.

Click here to login