Jump to content



  • Please log in to reply
1 reply to this topic

#1 desithugg

  • Members
  • PipPipPip
  • Advanced Member
  • 281 posts
  • LocationScarborough

Posted 19 July 2006 - 05:39 PM

umm im coding a forum and using textarea's to post/reply..In a textarea when you press enter it starts a new line.But when i post and its recorded in mysql.and i try to view it.it doesnot start a new line it just keeps going in one line.

#2 Joe Haley

Joe Haley
  • Members
  • PipPipPip
  • Advanced Member
  • 103 posts
  • LocationCanada, eh?

Posted 19 July 2006 - 05:42 PM

will convert all newlines (\n) into BR tags (<br />)
Give a man a fish; you have fed him for today.  Teach a man to fish; and you have fed him for a lifetime
Don't teach men to program. Teach them to fish.

Please, try the RTFM solution before asking for help:

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users