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