bamboli
06-19-2010, 11:10 AM
when hosting a php/mysql project...the below code occuring...pls give the solution
validuser($UserId); if(count($a)>0) { $UserId=$a[0]["user_id"]; $_SESSION["user_id"]=$UserId; header("Location:Main.php"); } else { print "Invalid User"; } } ?>
validuser($UserId); if(count($a)>0) { $UserId=$a[0]["user_id"]; $_SESSION["user_id"]=$UserId; header("Location:Main.php"); } else { print "Invalid User"; } } ?>