MySQL Forums
Forum List  »  PHP

Re: Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in
Posted by: putraikim_n9 den
Date: December 21, 2005 01:37AM

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in D:\inetpub\vhosts\intake38.net\httpdocs\masuk2.php on line 18

<? session_start();

if (isset($HTTP_POST_VARS['bio_notentera']) && isset($HTTP_POST_VARS['bio_pass']))
{
// if the user has just tried to log on
$bio_notentera = $HTTP_POST_VARS['bio_notentera'];
$bio_pass = $HTTP_POST_VARS['bio_pass'];

include 'dbase.php';

$query = "SELECT * FROM biodata
WHERE bio_notentera = '$bio_notentera'
AND bio_pass = '$bio_pass'
";

$result = mysql_db_query($db,$query);


if ( mysql_num_rows($result) > 0 ) <--- at this problem

Options: ReplyQuote


Subject
Written By
Posted
August 10, 2005 10:15PM
October 26, 2005 04:35PM
October 26, 2005 04:38PM
January 14, 2006 03:43AM
September 08, 2005 02:08PM
Re: Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in
December 21, 2005 01:37AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.