CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.

YesSoftware Forums -> CodeCharge -> General/Other

 File upload and default values

Print topic Send  topic

Author Message

Posts: 11
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
View profile  Send private message

Add new topic Subscribe to topic   

These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

Home   |    Search   |    Members   |    Register   |    Login

Powered by UltraApps Forum created with CodeCharge Studio
Copyright 2003-2004 by  and YesSoftware, Inc.