I’ve been receiving an error message for the following PHP 4 code:
$sql = "SELECT * FROM ml_users " .
"WHERE user_id='" . $_GET['u'] . "';";
$result = mysql_query($sql,$conn);
$row = mysql_fetch_array($result);
$firstname = $row['firstname'];
$e-mail = $row['e-mail'];
[05-Jul-2008 01:28:39] PHP Parse error: parse error, unexpected '=' in /_test/mailings/user_transact.php on line 106
Line 106 is
$e-mail = $row['e-mail'];
Can anyone tell me what the issue is?