Hello, good morning.
I have a syntax error here. Can you help? Thanks. It's a Parse error: syntax error, unexpected T_STRING, expecting ',' or ';'
on the "echo" line :
I have a syntax error here. Can you help? Thanks. It's a Parse error: syntax error, unexpected T_STRING, expecting ',' or ';'
on the "echo" line :
Code:
<?
$sql = "SELECT addrid, nickname FROM favlsit WHERE owner = '$username'";
$result = mysql_query($sql);
while ($rand = mysql_fetch_assoc($result)) {
$check = mysql_query("SELECT phone FROM addressbook WHERE id = '$rand[addrid]'");
$row = mysql_fetch_row($check);
echo " <tr><td height=18 bgcolor=EEEEEE><a href="javascript:AddReceiver('$row[0]')" class="o">
$rand[nickname]</a></td></tr>";
}
?>
Comment