On Thursday 29 July 2004 22:04, Andrew Reilly wrote:

> I have created a form that lists the possible sponsorships of various
> events.  I need to keep the names of the checkbox to identify the specific
> event, but the value is a dollar amount that needs to pass thru to the
> checkout area function.  Without creating an array that would loose the
> events names (some events have the same dollar amount), how can I capture
> the dollar value(s) checked an pass them to the checkout form?

Not exactly sure what you're trying to do. However you seem to be wanting to 
pass around monetary values via forms. In general this is a VERY BAD idea. 
Data submmitted from forms should not be trusted. Instead you should only 
link the events to their monetary values (using a back-end lookup table or 
whatever) AFTER the form is submitted.

-- 
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
An infallible method of conciliating a tiger is to allow oneself to be
devoured.
                -- Konrad Adenauer
*/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to