Posted By

nebojsac on 07/14/11


Tagged

php post foreach


Versions (?)

Handle all POST variables in a loop


 / Published in: PHP
 

  1. foreach($_POST as $key => $val) {
  2. $$key = stripslashes($val);
  3. }

Report this snippet  

You need to login to post a comment.