Excellent, that got rid of the pase error.
Now that the PHP is working, I'm getting something unusal from the MYSQL query.
I returns "query was empty"
I checked my database, and I have a test username and password in correctly, but I can't seem to pull it up from a query. I have run the same query except I put the actual values in instead of the variable, and returned the correct row.
$userId = $_POST['username'];
$password = $_POST['password'];
// check if the user id and password combination exist in database
mysql_query("USE Tpowell04");
//This section looks suspect to me...
$sql = "SELECT *
FROM `6944`
WHERE username = $userId
AND password = ('$password')";