Fatal error: Uncaught mysqli_sql_exception: 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 'GROUP BY p.id, r.titulo , p.total , p.status , r.datasorteio
ORDER BY p.id desc' at line 5 in /home2/promov00/suarifa.com/_util.php:276
Stack trace:
#0 /home2/promov00/suarifa.com/_util.php(276): mysqli->prepare('\nSELECT p.id, r...')
#1 /home2/promov00/suarifa.com/painel/meus-numeros.php(5): getQuery('\nSELECT p.id, r...')
#2 {main}
thrown in /home2/promov00/suarifa.com/_util.php on line 276