Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $formdata = array();
- foreach($_POST as $key => $value) {
- if ($key == 'interests') {
- foreach($value as $interest => $value2) {
- echo $interest." - ".$value2;
- }
- }
- $$key = mysql_real_escape_string(trim($value));
- }
Add Comment
Please, Sign In to add comment