On 6/15/11 12:29 PM, dbenjamin wrote:
Hi,
I'm trying to handle multiple file uploads with a binded array.
// FilesType
$builder
->add('photo1', 'file', array(type' => 'file'))
->add('photo2', 'file', array('type' => 'file'))
->add('photo3', 'file', array('type' => 'file'))
;
// controller
$fil
Hi,
I'm trying to handle multiple file uploads with a binded array.
// FilesType
$builder
->add('photo1', 'file', array(type' => 'file'))
->add('photo2', 'file', array('type' => 'file'))
->add('photo3', 'file', array('type' => 'file'))
;
// controller
$files = array(
'photo1' =>