PDA

View Full Version : Text question 2


SmEdD
06-20-2003, 09:09 PM
Alright I was woundering how they get <br> to be added in in the postbits for the message where the user hits enter.

Like it goes into the database without <br> but when it is displayed the source code has <br>.

Xenon
06-21-2003, 10:26 AM
take a look at the nl2br() function of php :)

SmEdD
06-21-2003, 10:18 PM
Sweet I got it. See this is why this site is so good. I looked for ever trying to find out how to do that and I also thought it was gonna be a huge code. Mean while its 4 letters and one number.