Log in

View Full Version : textarea input box.



MrCraig
05-06-2007, 04:24 PM
Hey, does anyone know the php code for a textarea input box?

Moved by opensourcehost (Forum Moderator) from Web Designing: Please post in the correct forum next time, thanks http://habboxforum.com/images/smilies/smile.gif.

Robbie
05-06-2007, 04:58 PM
<?php echo("<textarea rows=\"2\" cols=\"20\"></textarea>"); ?>

Ini
06-06-2007, 10:46 AM
Lol.. textarea i html really.

One thing i hate about testareas is i dont no how to make it so when you press enter it goes down a line, and shows it like that where you want it to

Heinous
06-06-2007, 11:26 AM
Lol.. textarea i html really.

One thing i hate about testareas is i dont no how to make it so when you press enter it goes down a line, and shows it like that where you want it to
Mildly ******ed, but sure.. =\

Splinter
06-06-2007, 11:31 AM
Lol.. textarea i html really.

One thing i hate about testareas is i dont no how to make it so when you press enter it goes down a line, and shows it like that where you want it to
Are you on about a WYSIWYG??

Ini
06-06-2007, 01:42 PM
UPDATED ;] Lol.. textarea is html really.

One thing i hate about textareas is i dont no how to make it so when you press enter it goes down a line, and shows it like that where you want it to

Loads of spelling mistakes :P

And no, i mean a normal textarea, i dont no how to make it go down a line when you press enter and show it like you typed it on a page.

Heinous
07-06-2007, 01:55 AM
Loads of spelling mistakes :P

And no, i mean a normal textarea, i dont no how to make it go down a line when you press enter and show it like you typed it on a page.
Wait for it, wait for it, wait for ittt...

You press enter. :)

(and learn2php)

Ini
07-06-2007, 10:48 AM
Wait for it, wait for it, wait for ittt...

You press enter. :)

(and learn2php)

Erm.. I said when you press enter, it goes down a line.

But i dont no how to get it to display it like you pressed enter to miss a line

Mentor
07-06-2007, 02:16 PM
Erm.. I said when you press enter, it goes down a line.

But i dont no how to get it to display it like you pressed enter to miss a line

wha? when u press enter you add a new line, your cursor appears at the end? What else do you expect it to do??

Heinous
08-06-2007, 01:11 AM
Erm.. I said when you press enter, it goes down a line.

But i dont no how to get it to display it like you pressed enter to miss a line
Press enter twice? lol?

Splinter
08-06-2007, 11:25 AM
If you mean as its being processed then use nl2br(); to turn lines into <br />..

Want to hide these adverts? Register an account for free!