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
What is the best way to store tags in mysql?
Old 11-18-2009, 06:49 PM What is the best way to store tags in mysql?
Skilled Talker

Posts: 53
Name: Wizzy
Trades: 0
Hi
What is the best way to store tags in mysql database?
Please help me with this.
Thanks
virtualmisc is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 11-18-2009, 06:56 PM Re: What is the best way to store tags in mysql?
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,519
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
As text.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 11-19-2009, 09:57 AM Re: What is the best way to store tags in mysql?
Super Talker

Posts: 139
Name: John Davis
Trades: 0
What kind of tags you've mean?
If this is HTML tags, then those tags is simple text
__________________
»
Please login or register to view this content. Registration is FREE
- Interactive maps for websites
»
Please login or register to view this content. Registration is FREE
for web developers
MapMaster is offline
Reply With Quote
View Public Profile Visit MapMaster's homepage!
 
Old 11-24-2009, 12:53 AM Re: What is the best way to store tags in mysql?
freezea's Avatar
Experienced Talker

Posts: 45
Trades: 0
Html tags can be stored in a regular text field if you are the only person adding content to the database. Tags like Quote:
<p> <br /> <hr> <b>
and so on are quite common in text fields.

If you are allowing others to add content to your database you must use the striptags() function to exclude or allow only some tags or you may wind up with something malicious in your pages. A meta refresh to another location is one example of something you do not want.
__________________

Please login or register to view this content. Registration is FREE
: Web-based Excel-like Java reporting tool.
freezea is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to What is the best way to store tags in mysql?
 

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.13305 seconds with 12 queries