View Full Version : Text formatted
pavmoxo
04-20-2006, 10:46 AM
It is possible to write text in a textarea, convert in HTML and insert in a mysql DB, to show it later accurately as it was in the "editor"?
djr33
04-20-2006, 12:09 PM
Sure. Just have it stored in the original format in the databasel, then convert to html and store as a second place in the DB.
Or, you could just store in original format and the php on the page that gets the 'html' would make it into code... so you wouldn't have outdated things stored in the database if you wanted to change it later.
But... that should work.
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.