print the results using nl2br($stuff)
which converts new lines (nl) to (2) breaks (br) in html (<br>)

// -----Original Message-----
// From: Chris Soyars [mailto:[EMAIL PROTECTED]]
// Sent: Tuesday, 25 September 2001 10:04 AM
// To: [EMAIL PROTECTED]
// Subject: [PHP-DB] Multiple lines in database.
// 
// 
// Ok I need to beable to print to HTML each line on its own
// 
// right now I would have in the database:
// A
// B
// C
// D
// 
// and it will print A B C D
// 
// Help!  Need this for school.
// 
// 
// 
// -- 
// PHP Database Mailing List (http://www.php.net/)
// To unsubscribe, e-mail: [EMAIL PROTECTED]
// For additional commands, e-mail: [EMAIL PROTECTED]
// To contact the list administrators, e-mail: 
// [EMAIL PROTECTED]
// 

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to