prova a commentare questa riga

// $row = mysql_fetch_array($result);