By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,751 Members | 1,149 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,751 IT Pros & Developers. It's quick & easy.

How can i get a value from a table in mysql and get that value in to a TEXTAREA?

P: 2
I,m having a big trouble while getting a vlaue from table in mysql to a textarea.
I can do that with a text field.

But i dont know how to do it for a textarea.

Please,send me the way as soon as possible!(ill be thankful to you if you send me it today)

Thanks
Apr 27 '07 #1
Share this Question
Share on Google+
1 Reply


code green
Expert 100+
P: 1,726
I am guessing you are having trouble echoing out the values into a textarea. It has to be done differently than a textfield. This is off the top of my head and I hope somebody corrects me but textfield
[HTML]<input type="text" name="name" value="<? echo $record; ?>" />[/HTML]and textarea
[HTML]<textarea name="textarea" cols="50" rows="10"><?php echo $record; ?> </textarea> [/HTML]

Note the text area text goes outside the HTML tags
Apr 27 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.