CodeCharge Studio
search Register Login  

Visual Web Reporting

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

YesSoftware Forums -> CodeCharge -> General/Other

 File upload and default values

Print topic Send  topic

Author Message
mantiscomputing

Posts: 11
Posted: 01/12/2006, 3:04 AM

Hi
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
Rob
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 http://support.yessoftware.com.

MS Access to Web

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

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


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