2
$carrosbr = $_POST['carrosbr'];
$carrosin = $_POST['carrosin'];
$corp = $_POST['corp'];
$houses = $_POST['houses'];
$vip = $_POST['vip'];
$skins = $_POST['skins'];
$guns = $_POST['guns'];
$bases = $_POST['bases'];
$eventos = $_POST['eventos'];
$drift = $_POST['drift'];
$rpg = $_POST['rpg'];
$mtmt = $_POST['mtmt'];
$dayz = $_POST['dayz'];
I have the variables above, they’re all checkboxes. And I need to check that at least one of them is selected.
Help there!
Actually, I was able to do it by array. I put everything in an array, and then used the in_array function to check if there was TRUE in the checkboxes. Even so, thanks a lot
– Vitor Leite