My boss wants me to add a number of items to the cart based on a user
form input. At the moment my add to cart function  checks if anything is
in it and then increments one item (using this code). I can supply the
full function if required but just this part would get me away I think.


Instead of incrementing by one how do I increment by a variable which
would be the form input?

Steve Jackson
Web Developer
Viola Systems Ltd.
Mobile +358 50 343 5159

PHP General Mailing List (
To unsubscribe, visit:

Reply via email to