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!? 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. Link to comment https://forums.phpfreaks.com/topic/39870-need-help-with-output/#findComment-193026 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.