|Posted: 01/12/2006, 3:04 AM
I am creating a simple image upload form using the wonderful 'file upload' object.
There are 5 upload fields on the form and only the 1st one is compulsary.
What I need to happen is if any of the remaining 4 fields are left empty then the value "blank.gif" gets written to the database field for that object. I have set the default value in the DB field to "default.gif" but it gets ignored by my form.
I am using PHP and MySql 3.23.58
Anyone got any ideas how to achive this?
Thanks in advance