oldschool Posted May 4, 2006 Share Posted May 4, 2006 Using following class [a href=\"http://www.phpclasses.org/browse/package/2181.html\" target=\"_blank\"]http://www.phpclasses.org/browse/package/2181.html[/a]and the issue begins here[code]foreach ($_FILES['my_field'] as $k => $l) { foreach ($l as $i => $v) { if (!array_key_exists($i, $files)) $files[$i] = array(); $files[$i][$k] = $v; } }[/code]There is a total of two posts going to this array. I want to get the contents of each, and assign them to the following variables respectively [code]$g_tic$g_pos[/code]Can I have some tips please? The final two variables go to make up the contents of a queryThanks in advance :) D x Quote Link to comment https://forums.phpfreaks.com/topic/9092-extract-from-array/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.