...given in C:\xampp\htdocs\kramansro\login? Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in C:\xampp\htdocs\kramansro\login.php on line 14
this is my code
<?php
$username = $_POST['username'];
$password = $_POST['password'];
if ($username&&$password)
{...
This is my error
Notice: Undefined index: submit in C:\xampp\htdocs\kramansro\register.php on line 4
Notice: Undefined index: email in C:\xampp\htdocs\kramansro\register.php on line 6
Notice: Undefined index: username in C:\xampp\htdocs\kramansro\register.php on line 7
Notice: Undefined...
...C:\xampp\htdocs\kramansro\logout.php on? <html>
<title>Logging out...</title>
<body bgcolor="Black">
</body>
<?php
session_start();
session_destory();
echo "You've been logged out, you will be redirected to home page in 3 seconds";
?>
</html>
whats wrong with it?