Wolfsoap Posted July 2, 2008 Share Posted July 2, 2008 hi. i have my journal running off an SQL database but I can only have one tag. The table basically has 4 fields (headline, date, article and tag) and the id. I can only put one thing in the tag field for each article I would like to put more. I was wondering how would I go about building a system for this? I could do it by separating tags in the fields with commas and exploding them for multiple one, but there must be a simpler way. cheers. Link to comment https://forums.phpfreaks.com/topic/112993-multiple-tags/ Share on other sites More sharing options...
DarkWater Posted July 2, 2008 Share Posted July 2, 2008 Have a tags table and associate each tag with the correct ID. Link to comment https://forums.phpfreaks.com/topic/112993-multiple-tags/#findComment-580434 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.