Hi there! I am currently using a PHP 5 along with Netbeans IDE to create a login page.
However Netbeans seems to not understand the codes that I have added into the console box.
The error originates from the "echo "....." line.
The codes are as follows:
$query = mysql_query($sql) or die(mysql_error());
echo "Thank You for registering {$first_name}! Your username is {$username}";
echo "<a href="index.php"> Click here </a> to Login";
}
}
?>
The errors shown are:
-Syntax error: Unexpected : Index -Syntax error: Unexpected : String
Please do help. Thanks.