Hello!
I'm having problems saving multiple files through related model.
I have the following structure:
Document hasMany Item
Item belongsTo Document
Item belongsTo File
File is a generic model I created to ease attaching a file to a model.
My Document form is like following:
...
$k=0
Hello!
I'm having problems saving multiple files through related model.
I have the following structure:
Document hasMany Item
Item belongsTo Document
Item belongsTo File
File is a generic model I created to ease attaching a file to a model.
My form is like following:
$k=0;
echo $for