note 19017 added to features.file-upload

From: Date: Wed, 13 Feb 2002 16:11:51 +0000
Subject: note 19017 added to features.file-upload
Groups: php.notes 
Request: Send a blank email to php-notes+get-26554@lists.php.net to get a copy of this message
i had many problems trying to do a multiple upload and insert into mysql, i eventually cracked it $ary=array($pic_name[$key],$name[$key]); while(list($key) = each($ary)) { $query="insert into images (pics,name) values ('$pics_name[$key]', '$name[$key]')"; $result = $db->query($query); print "".$query."<br>"; unset($pics_name[$key],$name[$key]); } using pic[] and name[] in the form -- http://www.php.net/manual/en/features.file-upload.php http://master.php.net/manage/user-notes.php?action=edit+19017 http://master.php.net/manage/user-notes.php?action=delete+19017 http://master.php.net/manage/user-notes.php?action=reject+19017

« previous php.notes (#26554) next »