954,193 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

I NEED HELP PLEASE:Warning: mysql_num_rows():


<? } ?>


<? require('templates/ad_header.php'); ?>


<?
}//function

//showing header
function show_header(){
?>

Demo Site
<?
$mode=form_get("mode");
$act=form_get("act");
if($mode=="user"){
?>

<?
}
elseif(($mode=='listing')&&($act=='create')){
?>

<?
}
elseif((($mode=='listing')&&($act!='create')&&($act!='show')&&($act!='feedback'))||(($mode=='search')&&($act=='listing'))){
?>

<?
}//elseif
?>


<? require('templates/header.php'); ?>


<?
}
//showing footer
function show_footer(){
?>


<? require("templates/footer.php"); ?>

welbyobeng
Junior Poster in Training
75 posts since Oct 2006
Reputation Points: 13
Solved Threads: 0
 

Isnt this a continuation of a previous thread? Check to see if mysql_num_rows is a valid resource and base youre returned value on that

sn4rf3r
Junior Poster
135 posts since Sep 2006
Reputation Points: 10
Solved Threads: 2
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You