dopo aver aggiornato wordpress all’ultima versione, mi compare questo warning in una pagina in cui faccio l’estrazione da un db
Warning: mysql_error(): 9 is not a valid MySQL-Link resource in /web/htdocs/www.autorubate.org/home/wp-includes/wp-db.php on line 685
Non so se è dovuto all'aggiornamento cmq il codice php che utilizzo per la connessione al db è :
<?php
$conn = mysql_connect('host', 'user', 'pass')or die ('Errore:'.mysql_error());
mysql_select_db('DBAA');
...OPERAZIONI DI ESTRAZIONE
mysql_close($conn);
?>
il fatto è che cmq mi visualizza la mia tabella solo che mi da anche il warning,
la pagina è questa:
http://www.autorubate.org/database-auto-abbandonate/