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 '?ci2=17elenco_strutture.php?ci2=16 ORDER BY RAND() ...' at line 27