I have cobbled the following code that when it retrieves the data from
Mysql, the data is displayed with no line breaks which results in one large
paragraph. I have been trying for quite awhile without sucess to get
nl2br working with this code. The original data is entered by the user via a
; ??
On 3/2/06, canobit canobit [EMAIL PROTECTED] wrote:
I have cobbled the following code that when it retrieves the data from
Mysql, the data is displayed with no line breaks which results in one
large
paragraph. I have been trying for quite awhile without sucess to get
nl2br
snip
All that said, you might want to invest some time in learning a DB
abstraction layer such as ADODb or PEAR::DB (there are lots of others).
You'll commonly find convenience functions to do things like output
query results into an HTML table. Why waste time debugging the wheel?
--
3 matches
Mail list logo