yeshi Posted June 12, 2008 Share Posted June 12, 2008 Hi anyone know how to show record with single line spacing???? im using php coding... For example :The record in database is:HelloWorldbut when i print out it will show Hello world. Link to comment Share on other sites More sharing options...
king Posted June 12, 2008 Share Posted June 12, 2008 Hi anyone know how to show record with single line spacing???? im using php coding... For example :The record in database is:HelloWorldbut when i print out it will show Hello world. <?phpecho nl2br($record);?> Function: nl2br converts line breaks (e.g. "\n") into the HTML line break: <br /> Link to comment Share on other sites More sharing options...
yeshi Posted June 12, 2008 Author Share Posted June 12, 2008 thx for your reply... =) i have solve it. thx you very much Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.