Not really ... the second chunk of code you pasted refers to a login_table
- PHP: Select all
$result = mysql_query("Select * From login_table where user_name='$username'",$con);
so ... you need to create that table in your database (if it's not created already) and put a username and password in that table.