Jump to content

unexpected T_ENCAPSED_AND_WHITESPACE


ccpokerd
 Share

Recommended Posts

Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/content/d/d/d/dddotnet/html/cs/www/unsubscribe.php on line 28

$qry = "SELECT * FROM signups WHERE hash='$hash' AND email='$email'";$result = mysql_query($qry);if(mysql_num_rows($result) == 1) {	$name = mysql_fetch_assoc($result);	$del = "DELETE FROM signups WHERE CONVERT(signups.hash USING utf8) = '$hash' LIMIT 1";	$msg = "Thank you $name['name'], your email address has been removed from our database.";	mysql_query($del);}

Line 28 is the one starting with $msg =....

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...