...

View Full Version : Imput text



Temper
03-13-2003, 03:39 PM
I'm making a database where you insert html files. The submission forum is a lot like this forum's text box, but I want to add the option to use <br> tags or not. For example, say that somone has made an Html file, and just copy and pastes it here and uses <br> tags, it would double space. How would I go about making the "enter/return" key to = "<br>" in a script?
Thanks
~Mike

mordred
03-13-2003, 04:51 PM
Have a look at
http://www.php.net/manual/en/function.nl2br.php



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum