Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/content/r/a/e/raeyshe/html/fanlisting/admin.php on line 21
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/content/r/a/e/raeyshe/html/fanlisting/admin.php on line 26
<?
if ((!$_POST['action'] && !$_GET['action']) || $_GET['action'] == "login") {
// get total member count
$querycount="SELECT id FROM $table";
$resultcount=mysql_query($querycount);
[B]$numcount=mysql_num_rows($resultcount);[/B]
// get total pending member count
$querycount2="SELECT apr FROM $table WHERE apr!='y'";
$resultcount2=mysql_query($querycount2);
[B]$numcount2=mysql_num_rows($resultcount2);[/B]
?>
-Lines 21 & 26 are in bold, red font.
Help anyone?