nevermind, you're missing a semi-colon on your mysql_query() call in this script too..

add a semi-colon to the end of line 4 after the bracket.

line 4 is this line:
PHP Code:
$qry mysql_query("SELECT user_name FROM DB_Wsers WHERE user_name='$user_name' LIMIT 1"
change it to:
PHP Code:
$qry mysql_query("SELECT user_name FROM DB_Wsers WHERE user_name='$user_name' LIMIT 1");