Page 1 of 1

layout of my info extracted from a mysql database

Posted: Thu Oct 24, 2002 7:45 am
by ridwan
when i display information which has been pulled from a mysql tables field it displays everything as one heap, even though the information in the fields are formatted nicely.

is there a method i can use to get my info to be laid out correctly within the php page.

Posted: Thu Oct 24, 2002 8:53 am
by twigletmac
Do you mean that newlines are missing? If so try nl2br().

Mac

do you mean nicely

Posted: Thu Oct 24, 2002 2:05 pm
by phpScott
If you are looking for the display to be well presented then you will have to start coding in formatting like html or c style spacing and tabs.

phpScott