Re: Variable quantity chooser.

From: Date: Thu, 08 Feb 2001 05:09:55 +0000
Subject: Re: Variable quantity chooser.
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-38755@lists.php.net to get a copy of this message
I'm sure I can help you, but I'm not able to follow your terminology. What's a "quantity chooser" and what's a "slider"? Are you referring to select boxes? I'm not trying to be rude, I just don't understand what you're referring to. I'm confident you can accomplish what you want using a loop, but perhaps you can restate your question using different terminology and some more details.
Sorry, I've been away from this for a while. Let me peel back a bit. When I generate the form, I pull up from the db, the quantity on hand, and the quantity already committed to orders. So: $max=$quantity-$commit is the maximum number I can allow someone to order. In the form, I'd like to get to a mechanism that would allow entry (by most any means really) of an order number >0 and less than $max. I know I can do it by submitting the form, but it would be irritating to have to do that.. Maybe I should just display $max, and let it go at that. -- Dave's Engineering Page: http://www.dvanhorn.org Where's dave? http://www.findu.com/cgi-bin/find.cgi?kc6ete-9

« previous php.general (#38755) next »