Hi. I have a form with two upload boxes that are array values like so.
<input type='file' name='myfiles[]' size='30'>
<input type='file' name='myfiles[]' size='30'>
Im trying to get the file names for those files into my database. I tried doing this
$files=serialize($_POST['myfiles']['name']);
$query = "INSERT INTO table ( files )
VALUES ( '$files' )";
$results = mysql_query( $query );
But all that shows in mysql for 'file' is: N;
If anyone knows a solution please comment.