Possible Duplicate:
Syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in PHP
Hello I am trying to design a web page in php to implement session and concept like login and logout.Below is my basic code.
<?php
session_start();
$host = "localhost";
$username = "USERNAME";
$password = "PASSWORD";
$db = "test";
@mysql_connect($host,$username,$password) or die ("error");
@mysql_select_db($db) or die("error");
?>
I am getting an error as unexpected_T_CONSTANT_ENCAPSED_STRING on line 3.Please help to remove this error.Is it anything wrong with SOL injection ?