Salve, potreste aiutarmi a trovare l'errore in questo script grazie..
Codice PHP:
<?php
$sql= "SELECT * FROM Registrazione WHERE '".$_GET['id']."'";
$result= mysql_query($sql) OR DIE (mysql_error());
$row= mysql_fetch_array($result);
$coloriPermessi = array (
1 => 'black',
2 => 'red',
3 => 'yellow',
4 => 'green',
5 => 'green'
);
echo '<font face="arial" size="3" color="\".$coloriPermessi[$row["permessi"]].\"">Emperon</font>';
?>