Jump to content

textarea with an input box


niche

Recommended Posts

How do you use <textarea> with an input box?I tried this, but it didn't work (obviously), but it seems close to what i need.

echo 'description:<textarea rows="3" cols="30"> <input style="width:275px;height:50px;overflow:scroll;" name="description" value="' . $description . '" type="text" /> </textarea> ';

Link to comment
Share on other sites

This does what I need it to do:

echo 'description:<textarea style="overflow:scroll;" name="description"  type="text" rows="3" cols="30">' . $description . '</textarea> ';

Is it good form to you?

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...