Salve ragazzi ho il seguente codice e mi da errore nella linea 275
$query= "select COD,NOME,SKYPE,EMAIL from tabella order by ID";
$result= mysql_query($query);
$numfields = mysql_num_fields($result);
echo "<center><table>\n<tr>
<td>Codice</td><td>Nome</td><td>Skype</td><td>Email</td>
</tr>";
while ($row = mysql_fetch_row($result))
{
//questa è la linea 275
echo "<tr><td>".$row[0]."</td><td>".$row[1]."</td><td>".$row[2]."</td><td>".$row[3]."</td><td>".$row[4]."</td></tr>";
//fine linea
}
echo "</table></center>\n";
}
mi da questo errore Parse error: syntax error, unexpected T_STRING, expecting ']' in /home/visualba/public_html/mostra.php on line 275
xò sintatticamente a me sembra corretta.... mi date una mano???