views:

1257

answers:

1

all,

I wanted to create a multiline textbox but all the info i googled on it says that i can adjust the length but no the height

How would i create a text box field that i could have a user type comments into for a php script?

this is what I'm currently using

<INPUT TYPE = "TEXT" >

Bonus question:

how do i disable enter in the text box ( like if you hit "this is a test+ enter" it submits the page i want the user to have to click on the submit button at the bottom

+4  A: 

Do you mean a textarea? Or an editable div?

karim79
text area seems the correct one. Can i access that text from a php script?
Crash893
@Crash893 - yes you can, give it a name attribute, and get the value from $_GET or $_POST in PHP. See http://us.php.net/manual/en/language.variables.superglobals.php
karim79