Jump to content

unexpected T_ENCAPSED_AND_WHITESPACE


ccpokerd

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

thank you :)I thought it had something to do with that, but i couldn't work out what, I never knew arrays needed that, thanks :)see, this is what happens when I attempt to write my own code instead of scamming off of a script website :)hehe

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...