Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/comunidadepovo/public_html/includes/BancoDeDados.php on line 6
Comunidade Povo Livre
/ Vídeos /
Vídeos:
Erro!

# 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'ORDER BY id_video DESC' at line 1

SELECT *, DATE_FORMAT(data,'%d/%m/%Y') as data1 FROM tbvideos WHERE id_categoria= ORDER BY id_video DESC