![]() |
Organizing Mysql search
I have a database with rss feeds with each feed having one or more categories. What I'm trying to do is display the feeds within their respective categories. My first step though, I can't figure out the best way to get the categories organized.
Example: Feed 1 / Local News / New York Feed 2 / Local News / LA Feed 3 / World News I don't imagine having thousands of different feeds, so I did a query putting everything into an array. So, here's what I have so far. (It's laughable, I know...) Code:
$rssSelect = "SELECT * FROM rss";This would be nice: Array Local News = (1, 2) World News = (3) Array New York = (Local News) LA = (Local News) I should be able to sort through stuff from there... I hope I'm making sense. Thanks! |
| All times are GMT +1. The time now is 02:25 AM. |
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.