Hi All,
the following code is giving me the following error and i would appreciate any help in identifying where the error lies
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ',' or ';' in /Applications/MAMP/htdocs/CG0119/index.php on line 6
the code is here, and line 6 is the echo statement
$db = getConnectionMySql();
$stmt = $db->query("SELECT email, name, lastlogin FROM subscriber");
while ( $obj = $stmt->fetchObject()){
echo $obj->email . ':''\n';