Just creating a few forms for users to be able to fill out on my webpage. I am using the code below to create boxes users can fill out:
<td><input type="text" name="message"
value="<?php echo @$message ?>"
Its in my .inc file which is then posted to the .php file. The thing i want to know is how you make the box bigger in terms of depth (currently they are like the topic title box when you fill out a new topic on this website. I want them to be larger so they are more like the actually message box when you fill out a new topic on this website).
How to increase size of box for information in a form
1 reply to this topic
Posted 16 April 2006 - 02:28 AM
It's an html question. Use textarea, not text, as the input type. Adjust the number of rows and number of columns (horizontal size) to suit. For example:
<textarea name="something" rows="3" cols="30"><?php echo $something; ?></textarea>
Legend has it that reading the manual never killed anyone.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users