Forum: Bryce


Subject: Several PHP fixes are now in place - readme for 04/05/06

AgentSmith opened this issue on Apr 05, 2006 ยท 42 posts


Rayraz posted Fri, 07 April 2006 at 4:08 AM

Signatures dont seem to have nl2br() functions applied? Textarea's in forms (such as where u type ur messages or signature) use new line commands for startin a new line. However the data needs br's to start a new line when printing it in an area like a p, div, span or td. To easily do this in php u should print the var with the data in it with nl2br() command. (in case the programmer doesnt know lol) So for instance, u should change: print(stripslashes($row_userdata['signature'])); to: print(nl2br(stripslashes($row_userdata['signature'])));

(_/)
(='.'=)
(")
(")This is Bunny. Copy and paste bunny into your signature to help him gain world domination.