php text box

Soldato
Joined
6 Apr 2008
Posts
3,352
Location
Reading
basic question that Im struggling with, how do I get a deeper textbox in php. I have a string that is input into a database of length 225, but obviously I dont want a text box of the same length as it looks stupid! How do deepen the text box entry on the form?
 
Hrm, I think you've a lot to learn about internets :)

Text boxes can contain data of any* length, and they don't have to be physically that wide to display long content either. An <input type="text" name="blah" value="A really long string goes in here maybe even 225 characters"> is still only going to be about 100px wide when it gets painted.

I *think* that's what you were asking

*within reason!
 
I realise that a text box doesn't have to be physically as wide as the field length but you didnt answer my question. How do I make the input multilined, such as the one im typing into this second? Otherwise it looks appalling.

The user needs to be able to see everything they have typed as its a comments box. thanks.
 
Back
Top Bottom