Jump to content


New Line

  • Please log in to reply
1 reply to this topic

#1 adam84


    Advanced Member

  • Members
  • PipPipPip
  • 287 posts
  • LocationOntario, Canada

Posted 05 November 2011 - 08:10 PM


I made a web application(PHP) that works with another application that was made(VB). In the web application, the user can enter a bunch of text and behind the scenes, I want to add some extra text to the end of the user entered text. My problem is when I add my extra text, i want a couple new lines that space out the two paragraphs of text, but if I enter the new line as <br /> or  \n or \r or chr(13) or chr(10), nothing happens when I open it up in the VB program. There are not any new lines and somethings the actual characters '\n' show up. Does anyone know of a special character that I can enter to create the new line so that it shows up correctly in VB?

If 'Ctrl + v' and 'Ctrl + c' didnt exist, I don't think I would ever program...

#2 trq


    Advanced Member

  • Staff Alumni
  • 31,041 posts

Posted 06 November 2011 - 12:18 AM

If the actual \n chars are showing up your doing it wrong, post your code.

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users