leeandrew Posted March 14, 2008 Share Posted March 14, 2008 Hi, I already have a system which allows users to bookmark 10 pages on my site; refered to as their top 10. I want to be able to have an unlimited bookmark system also where users can add 'favourites' besides their top 10. In my top 10 system each page goes into an individual cell... top1, top2, top3 etc... Is it possible to lump all favourites into 1 cell? Is there a better way to do this... rather than having 200 different available cells for each favourited page. Quote Link to comment Share on other sites More sharing options...
turtleman8605 Posted March 14, 2008 Share Posted March 14, 2008 You could do this in several different ways. The simplest would be to create a cell of type "TEXT" (i am assuming that my cell you mean in MYSQL) and appending the page name or id in a comma separated list. Then just use split(",", $string) to ouput tem into an array when you build your list of bookmarks. Quote Link to comment Share on other sites More sharing options...
leeandrew Posted March 15, 2008 Author Share Posted March 15, 2008 Yes its sql. I have created a TEXT cell called BOOKMARKS. I dont know what to do next. i know i will need to do 2 further things; place something on each page i want available for bookmarking, and a page in the user section that displays each users list. Can anyone help? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.