Gnub Posted February 16, 2007 Share Posted February 16, 2007 How do i assign a form textbox a variable. Example. form1 sends a bunch of data to the .php page, i set the data as variables for use. How do i then put one of those variables as a value inside a textbox inside a form (Automatically) ? Quote Link to comment Share on other sites More sharing options...
Jessica Posted February 16, 2007 Share Posted February 16, 2007 you put it between the two textarea tags. Quote Link to comment Share on other sites More sharing options...
Gnub Posted February 16, 2007 Author Share Posted February 16, 2007 <input type="text" name="A1" /> You mean inside the type=" " ? Quote Link to comment Share on other sites More sharing options...
Jessica Posted February 16, 2007 Share Posted February 16, 2007 If you mean an input, it's the value="". The type is ... well, the type. Text, password, etc. The value is the value of it... A textbox to me means a textarea, which has no value, it has an open and close tag. Quote Link to comment Share on other sites More sharing options...
JasonLewis Posted February 16, 2007 Share Posted February 16, 2007 your using input? you do it like this: <input type="text" name="A1" value="the value here" /> Quote Link to comment Share on other sites More sharing options...
Gnub Posted February 16, 2007 Author Share Posted February 16, 2007 thanks to you both. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.