Error in File upload in EDIT
Posted: Mon Jan 16, 2012 12:20 am
Greetings,
I have table, in which i have mandatory fields for uploading files. it is working fine while inserting new record. but when i am edit that specific record which i inserted before and the uploaded files are already attached with it in edit form of the table, but when i press save in edit form, it is giving the error of file file is empty, even i have path/value in the database for the uploaded field. like we have value for other fields like textfield, which is value="<?=$row['txt_value']?>", but how can we have for uploaded file fields? the file is already attached coming from the database along with the delete cross sign, but it is still giving the file field empty error.
Kindly lead me.
Your help will be greatly appreciated.
Thanks
I have table, in which i have mandatory fields for uploading files. it is working fine while inserting new record. but when i am edit that specific record which i inserted before and the uploaded files are already attached with it in edit form of the table, but when i press save in edit form, it is giving the error of file file is empty, even i have path/value in the database for the uploaded field. like we have value for other fields like textfield, which is value="<?=$row['txt_value']?>", but how can we have for uploaded file fields? the file is already attached coming from the database along with the delete cross sign, but it is still giving the file field empty error.
Kindly lead me.
Your help will be greatly appreciated.
Thanks