Jump to content

[SOLVED] MySQL field question


stormcloud

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.