Posted by StreetGifts on 01/12/07 15:59
What would be the best advice for storing HTML data in to a MySQL database?
I've tried using 'htmlspecialcharacters' and 'htmlentities' for converting
before storing in to db, but when converting back, am always having issues
displaying the single quote properly ( ' )
I want to be able to save HTML tags & content in to db. Using 'TEXT' as
field type.
Am able to save, retrieve and display back to browser, but am having
difficulties w/ the single ' quote issue
[Back to original message]
|