CodeCharge Studio
search Register Login  

Visual Web Reporting

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

YesSoftware Forums -> Archive -> GotoCode Archive

 Get field from other form

Print topic Send  topic

Author Message
Michael
Posted: 07/07/2003, 1:47 AM

Hello everybody,

I'm working on a CC-project with PHP4 + templates and MySQL. I'm busy with a page with two forms, "products" and "products2". I wrote some SQL-script on both forms. Now I want to get a field from "products" to the "products2"-form, for creating an if-statement. If there's an discount on the "products"-form, I want to overwrite the price-field on the "products2"-form.

Exapmle:

if
$flddiscount > "0";
$fldprice = "$flddiscount";

else
$fldprice = "$fldprice";

This example isn't working, because the discount-field isn't in the form. Does anyone know how to get this field from the other form?

Many thanks!

Michael
guest
Posted: 07/08/2003, 6:34 AM


   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

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.