Jump to content

textarea with an input box


niche
 Share

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> ';

Edited by niche
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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...