View Single Post
Old 07-11-2007, 08:48 AM   #1 (permalink)
zach014
 
Newb Techie

Join Date: Oct 2006

Posts: 29

zach014

Default using one text box for different variables (php)

i've seen websites use one text box to submit different things depending on which button they click.
for example, i have a buy button and a sell button next to each other, and one text box to the right of them. i want it so that if they click buy, it will read the contents of the text box as if it were a different text box than if someone clicked sell.
thanks in advance,
~zach
zach014 is offline