Advertisement
Guest User

Untitled

a guest
Sep 22nd, 2017
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Perl 0.30 KB | None | 0 0
  1.                             $checkboxes = array_keys($_POST);
  2.                             for ($i = 0; $i < count($checkboxes); $i++)
  3.                                 {
  4.                                     $cBox = explode("_", $checkboxes[$i]);
  5.                                     if ($cBox[0] == "checkbox")
  6.                                         {
  7.                                             $ERROR[] = $_POST[$checkboxes[$i]];
  8.                                         }
  9.                                 }
  10.                            
  11.                             $ERROR[] = "Fest?";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement