Posted By

iloveitaly on 09/14/09


Tagged

check post vars


Versions (?)

Check POST Vars Exist


 / Published in: PHP
 

  1. function checkPostVars($checkArray) {
  2. foreach($checkArray as $var) {
  3. if(!isset($_POST[$var])) {
  4. return false;
  5. }
  6. }
  7.  
  8. return true;
  9. }

Report this snippet  

You need to login to post a comment.