I have this input statement:
echo "Qty: ".'<input type="text" name="quantity" size="3" maxlength="2" value="0" style="text-align: right">';
echo '<input type="submit" Style="font: 8 pt" value="Add to Basket">';
What I want to do is when the user clicks on the submit button, I capture the quantity and put it and other info into an array of session variables so I can save the info for the duration of the session. I can do other things with that info but I'm having trouble saving it as an array.
1 - How do I define a $GLOBAL array and is this what I want to use?
2 - How do I capture the info from the button without passing it to another script? (that's all I've been able to do so far)
I'm an experienced programmer but not with PHP. Thanks for your help.