PDA

View Full Version : add/remove fav



varshatest
12-29-2006, 09:58 AM
hi,

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
http://www.a1vacations.com/index.cf...s=&refinements=
using php script
its urgent


regrds
varsha

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

thetestingsite
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.

varshatest
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...


Regrds
Varsha

FP12
08-08-2009, 07: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

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