Oltre al DIE con la segnalazione dell'errore, ti consiglio anche di mandare in stampa la tua stringa SQL.
Vedi qual è il tuo problema e poi posta, semmai.Codice PHP:
$sql = "select * from tabella where $order";
echo $sql."
";
$result=mysql_query($sql) or die("Errore Numero: ".mysql_errno()." - Descrizione: ".mysql_error());
![]()