I can not trouble shot your machine from my desk. You have to do it.
Oh I see. Don't you look at what I give you? I spotted the problem right away. My code is connecting to my database and SELECTING from my database using my columns. Your login.php should be:
Code:
<?php
session_start();
if(isset($_SESSION['uname']))
unset($_SESSION['uname']);
include_once('conndb1.php');
$username = mysql_real_escape_string($_POST["name"]);
$password = mysql_real_escape_string(md5($_POST["pass"]));
$sql =("SELECT username from clan_members where password='$password' AND username='$username'");
$res = mysql_query($sql)or die(mysql_error());
$row = mysql_fetch_row($res);
if($row[0] == $username)
{
$_SESSION["uname"] = $username;
echo 'Logged In <button id="continue" onclick="window.location.href = \'continue.php\';">Continue</button>';
}
if($row[0] != $username)
{
echo 'Name or password incorrect<br>Try again';
}
?>