View Full Version : add/remove fav

12-29-2006, 09:58 AM

I have been searching for an php 'save favourites' script. I wish to use it for a property website where users can add/view/remove their favourite properties, say from a listing.

I'm not entirely sure but I think can be done with cookies. Im using SQL database too.

Can somebody please help me with a basic programme flow of how the script might work...
i want someting similar to
using php script
its urgent


12-29-2006, 01:05 PM
Put this thread in the PHP section of the forum, and Blizzard or thetestingsite will find you !

12-29-2006, 02:21 PM
So, you basically want the user to log in (or register if new), then be able to add/edit/remove items from their favorites list, right?

You could use cookies, but that would be a waste of time due to the fact that if a user's browser does not accept cookies, or at the end of the browser session it clears the history, or any other case like that would make it practically worthless. To save the data, you would want to use server-side scripting (ASP, PHP, etc) with a database (MySQL, MS-SQL, etc) to store the data.

Tell me what your server supports (PHP. MySQL, etc), and I'll see if I can set something up for you. Hope this helps.

01-02-2007, 04:30 AM
well...our server supports PHP....
i would like to use cookies or sessions..nvr mind evn if smeone deletes history..and data is lost...


08-08-2009, 06:20 PM
I know this is an old thread but this is exactly what I am looking for, did anyone come up with somehing? Thanks

08-08-2009, 06:36 PM
ps I use php and mysql database