Open Modal

Notice: Trying to get property 'id' of non-object in /home/u910330179/domains/ on line 35
select,titulo,link from cao_banner b where b.ativo = 1 and b.id_cao_servico = order by rand() limit 1
SQL ERROR: 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 rand() limit 1' at line 1