mmm ithink there's a problem with your query.
try to echo-ing to query like this :
is it read $user and $pass variable ??
if its not read those variable you can change query syntak like this :
$query = "SELECT * FROM $table WHERE Username='$user' AND Password='$pass';
Reputation Points: 10
Solved Threads: 10
Junior Poster in Training
Offline 80 posts
since Jan 2008