stormcloud Posted January 23, 2008 Share Posted January 23, 2008 Bit of newbie question, but i've gotta learn somehow! I've got a db setup and working. It's receiving input from drop downs and text fields. I want to change one of the text inputs to textarea. First question: What is the best field setup to recieve multiple lines of text? Next, i'm bringing the data back onto my site to be edited if needed. Now i can currently get textarea input back into a text box, but not back into a textarea... How do i fix this? <input type="text" name="content" value="$the_content" size="10"></input> This works for the text input... but this doesn't work for the textarea... <textarea rows="10" name="content" cols="50" value="$the_content"> Thanks in advance... Link to comment https://forums.phpfreaks.com/topic/87337-solved-mysql-field-question/ Share on other sites More sharing options...
pdkv2 Posted January 23, 2008 Share Posted January 23, 2008 <textarea rows="10" name="content" cols="50" value="$the_content"> this should be as follows <textarea rows="10" name="content" cols="50" >$the_content</textarea> Regards Sharad Link to comment https://forums.phpfreaks.com/topic/87337-solved-mysql-field-question/#findComment-446715 Share on other sites More sharing options...
stormcloud Posted January 23, 2008 Author Share Posted January 23, 2008 I really wish it wasn't that simple! Makes me feel like a COMPLETE loser now... not just a partial loser Thanks mate. Link to comment https://forums.phpfreaks.com/topic/87337-solved-mysql-field-question/#findComment-446722 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.