SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 3
Notice:  Undefined variable: order in 
\\WINDOWS-PD-0001.FS.LOCAWEB.COM.BR\WNFS-0001\abenge1\web\noticias.php on line 
61
Notice:  Undefined variable: sql in 
\\WINDOWS-PD-0001.FS.LOCAWEB.COM.BR\WNFS-0001\abenge1\web\noticias.php on line 
103
Notice:  Undefined variable: sql in 
\\WINDOWS-PD-0001.FS.LOCAWEB.COM.BR\WNFS-0001\abenge1\web\noticias.php on line 
170