Tag Info

New answers tagged

0

Thanks @shady-m-rasmy I used the code you mentionned, and it seems that the second foreach loop (below - in the custom template part) is not necessary as it is only executed once. foreach ($_FILES as $file => $array) { $newupload = my_handle_attachment($file,$pid); } So it only leaves with $newupload = my_handle_attachment( ...



Top 50 recent answers are included