This is the beginnings of a login script that I've been working on, and I can't seem to figure out why I have this error. The error is said to be on line 10. Any help would be appreciated. I've changed the info in the variables used for connection just for security reasons. Thanks!
<?php session_start(); /* Database config */ $db_host = //host; $db_user = //username; $db_pass = //password; $db_database = //database; $link = mysql_connect($db_host, $db_user, $db_pass); mysql_select_db($db_database, $link); $username = $_REQUEST['username']; $password = $_REQUEST['password']; $data = mysql_query("SELECT * FROM $tbl_name WHERE username=$msuser AND password=$mspass"); $count = mysql_num_rows($data); $username = $_SESSION['username']; $password = $_SESSION['password']; ?>