Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(isset($_POST["submit"])){
- $power_array = array();
- $file_count = count($_FILES["file"]["tmp_name"]);
- $array_count = count($_FILES["file"]);
- $base_file = $_FILES["file"];
- $parent_array = array();
- print_r($base_file);
- // die( );
- for($i = 0; $i < $file_count; $i++){
- foreach ($base_file as $key => $value) {
- $power_array[$key] = $_FILES["file"][$key][$i];
- }
- $parent_array[] = $power_array;
- }
- print_r($parent_array);
- die();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement