|
|
Warning: mysql_query() expects parameter 2 to be resource, boolean given in /home/afukuoka/www/2/includes/BancoDeDados.php on line 30
Erro!
# 2054 - The server requested authentication method unknown to the client
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 id_noticia=319
ORDER BY
data DESC
LIMIT 1;
|
| |