Jump to content


New Line

  • Please log in to reply
1 reply to this topic

#1 adam84


    Advanced Member

  • Members
  • PipPipPip
  • 286 posts
  • LocationOntario, Canada

Posted 05 November 2011 - 03: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

  • Administrators
  • 31,035 posts
  • LocationSydney, Australia.

Posted 05 November 2011 - 07:18 PM

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

http://thorpesystems.com | http://proemframework.org | http://github.com/trq

SmtpCatcher - A very simple mock sendmail useful for testing PHP mail scripts.
OPM - My Linux package manager.

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users