Deprecated: mysql_query(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/aasnoabv/www/projets/detail.php on line 40

Warning: mysql_query(): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in /home/aasnoabv/www/projets/detail.php on line 40

Warning: mysql_query(): A link to the server could not be established in /home/aasnoabv/www/projets/detail.php on line 40
Erreur SQL :
SELECT name_NL,txt_NL,id,ref, year from Projets WHERE id='181'

Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)