Results 1 to 6 of 6

Thread: add/remove fav

  1. #1
    Join Date
    Dec 2006
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default add/remove fav

    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

  2. #2
    Join Date
    Jul 2006
    Location
    Antwerp, Belgium (Europe)
    Posts
    808
    Thanks
    87
    Thanked 2 Times in 2 Posts

    Default

    Put this thread in the PHP section of the forum, and Blizzard or thetestingsite will find you !

  3. #3
    Join Date
    Sep 2006
    Location
    St. George, UT
    Posts
    2,769
    Thanks
    3
    Thanked 157 Times in 155 Posts

    Default

    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.
    "Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc, 1989
    TheUnlimitedHost | The Testing Site | Southern Utah Web Hosting and Design

  4. #4
    Join Date
    Dec 2006
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    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

  5. #5
    Join Date
    Aug 2009
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I know this is an old thread but this is exactly what I am looking for, did anyone come up with somehing? Thanks

  6. #6
    Join Date
    Aug 2009
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    ps I use php and mysql database

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •