nadimtuhin
3/11/2015 - 5:05 PM

hasin vais puzzle

hasin vais puzzle

<?php
$p = array_map(function($n, $e){
  return [
    "name"=>$n,
    "email"=>$e
  ];
}, $_POST['name'], $_POST['email']);

print_r($p);