I'm working on a classified system. PHP/MySQL. The system itself is working great. So what I want to do now is add a checkbox next to each listing and an 'Add To Favorites' button at the bottom of the page. So you can make a personalized list of the listings that matter to each user.
I've done part of that, now I have a page called favorites.php that gets passed something like this:
favorites.php?favs=123&favs=234&favs=345&send=Submit
I don't know if I should put that information into a DB matched up to the user with a cookie, or just keep it all in a cookie.
I also don't know how to handle this array to do that... Any help would be great, Thanks!