Hi All,
Can someone lead me in the right direction on how to format text coming from a database to be properly displayed on a cgi web page. I used a simple form with a textarea field to send data to my MySQL database. When I view the table through MySql it shows the data correctly formated (ie with carraige returns)
When I display the data I entered via the textarea on the webpage (through a DBI query and an array) it does not format it to look like what is in the database and what I originally entered.
Is there a 'Format' syntax in cgi coding?
Thanks for any replies,
Emma
Can someone lead me in the right direction on how to format text coming from a database to be properly displayed on a cgi web page. I used a simple form with a textarea field to send data to my MySQL database. When I view the table through MySql it shows the data correctly formated (ie with carraige returns)
When I display the data I entered via the textarea on the webpage (through a DBI query and an array) it does not format it to look like what is in the database and what I originally entered.
Is there a 'Format' syntax in cgi coding?
Thanks for any replies,
Emma