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) ? Link to comment https://forums.phpfreaks.com/topic/38770-solved-assigning-input-type/ 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. Link to comment https://forums.phpfreaks.com/topic/38770-solved-assigning-input-type/#findComment-186277 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=" " ? Link to comment https://forums.phpfreaks.com/topic/38770-solved-assigning-input-type/#findComment-186283 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. Link to comment https://forums.phpfreaks.com/topic/38770-solved-assigning-input-type/#findComment-186287 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" /> Link to comment https://forums.phpfreaks.com/topic/38770-solved-assigning-input-type/#findComment-186291 Share on other sites More sharing options...
Gnub Posted February 16, 2007 Author Share Posted February 16, 2007 thanks to you both. Link to comment https://forums.phpfreaks.com/topic/38770-solved-assigning-input-type/#findComment-186300 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.