SELECT * FROM (`banners`) WHERE (paginas LIKE "%Todas%") && ((data_entrada <= "2020-10-21" && data_saida = "0000-00-00" && data_entrada != "0000-00-00") || (data_entrada <= "2020-10-21" && data_saida > "2020-10-21" && data_entrada != "0000-00-00")) ORDER BY `ordem` DESCSELECT * FROM (`banners_float`) WHERE (paginas LIKE "%Todas%") && ((data_entrada <= "2020-10-21" && data_saida = "0000-00-00" && data_entrada != "0000-00-00") || (data_entrada <= "2020-10-21" && data_saida > "2020-10-21" && data_entrada != "0000-00-00")) ORDER BY `ordem` DESC Coroas - Renapax
Fatal error: Cannot use object of type CI_DB_mysqli_driver as array in /home/renapaxcombr/public_html/application/views/includes/header.php on line 78