Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/u224160218/public_html/includes/BancoDeDados.php on line 6

Warning: mysql_connect(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2 "No such file or directory") in /home/u224160218/public_html/includes/BancoDeDados.php on line 6
ORCPLAN - Orçamentos para Construção Civil
   
  Face
   
 
 
 
 
 

Warning: mysql_query() expects parameter 2 to be resource, boolean given in /home/u224160218/public_html/includes/BancoDeDados.php on line 30
Erro!

# 2002 - Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2 "No such file or directory")

SELECT tbnoticias.*, DATE_FORMAT(tbnoticias.data,'%d/%m/%Y às %H:%i') as data1 , tbnoticias_categorias.* FROM tbnoticias INNER JOIN tbnoticias_categorias ON (tbnoticias_categorias.id_categoria = tbnoticias.id_categoria) WHERE 1 AND tbnoticias.id_categoria=12 ORDER BY data DESC LIMIT 1;