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 |
|
|
|
|
 |
|