Page 2 of 2

Posted: Sun Feb 19, 2006 5:50 pm
by MinDFreeZ
I feel kinda bad doing this.. since I'm basically repeating myself...

update_product.php is handling the newQty variable... when u put in the new quantity into the input field u need a submit button for the field (or even set up one of those fancy hidden submit buttons where u just hit enter :P) ..... j/k

seriously, for this.. if you're just trying to add a variable to the link while on that site, without refreshing.. look into javascript.. im not sure how it can be done, but im sure it can.

all u need to know is $_GET['newQty'];
that will grab newQty from the URL ..... <form method="get" action=""> (with the newQty input field inside it ) </form> will send newQty=(whatever they put) into the url that u are at.....

like.. im still confused at what the actual question is. lol

Posted: Sun Feb 19, 2006 5:55 pm
by d3ad1ysp0rk

Posted: Sun Feb 19, 2006 8:43 pm
by aceconcepts
I have done it.

Thanks for all of your help and certainly your patience.

This is where i was going wrong: I was trying to incorporate 'closing' php tags around html when data was being inserted into the display table.

Finally, i just removed all of the html tags from where i had originally put them and it works fiine.

I was under the impression that forms can only be implemented within html tags!!

Anyhow, thanks once again for your help.

Nick