FirePhoenix Posted February 24, 2007 Share Posted February 24, 2007 I am having a problem with formating, now I know very little about PHP or MySql I just started and I have a book but I can't figure it out. The problem is that when someone enters a value for a column it won't show it right. For example: someone enters Hi my name is firephoenix I want this line down here and when I view it in a text box it keeps the format but if I just output it with echo then it looks like this Hi my name is firephoenixI want this line down here Can someone please help!? Quote Link to comment https://forums.phpfreaks.com/topic/39870-need-help-with-output/ Share on other sites More sharing options...
effigy Posted February 24, 2007 Share Posted February 24, 2007 Pass the input through nl2br. Quote Link to comment https://forums.phpfreaks.com/topic/39870-need-help-with-output/#findComment-193026 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.