Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

The Database Forum


You are currently viewing our The Database Forum as a guest. Please register to participate.
Login



Reply
Old 01-02-2008, 06:13 PM mysql db - rich text
coldturkey's Avatar
Extreme Talker

Posts: 211
Name: Rachel
Location: Spain
Trades: 3
I am uploading text into my mysql database using a rich text box - like this one im writting in. But when it is shown on the page - it comes up not taking into account the html in the rich text box.

What should it be set as in the data base - maybe i have it wrong!

Thanks
Rachel
__________________

Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE

coldturkey is offline
Reply With Quote
View Public Profile Visit coldturkey's homepage!
 
 
Register now for full access!
Old 01-07-2008, 07:50 AM Re: mysql db - rich text
Extreme Talker

Posts: 238
Location: United States
Trades: 0
This is most likely not a database problem. MySQL doesn't care if you enter rich text, HTML, or plain text. The text you insert into a table only needs to be escaped (if you're using PHP, use mysql_real_escape_string().)

The field where the data is being inserted should probably be set as TEXT.
frost is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to mysql db - rich text
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.95955 seconds with 12 queries