Favorites Script

Discussion in 'PHP' started by joachim, Jan 23, 2014.

  1. #1
    Can anyone point me in the right direction for a php script that would allow me to implement an 'add user to favourites' system on my members site?
    Members can look at other members profiles and a favourite/star if they like. This star is only visible by the person who left it. I suppose it's just a bookmarking system within the site itself.
    My site uses a mysql to store members profiles.
    I have not tried writing this script yet as there must be tons of scripts like this around but I can seem to find one. Can anyone show me where / or how?

    Many thanks,

    Joachim
     
    joachim, Jan 23, 2014 IP
  2. Objects

    Objects Well-Known Member

    Messages:
    388
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    140
    #2
    you can write a simple lines of code that handle this. it will be using another table for recording relations between users many 2 many relation
     
    Objects, Jan 23, 2014 IP
  3. Pudge1

    Pudge1 Well-Known Member

    Messages:
    912
    Likes Received:
    6
    Best Answers:
    1
    Trophy Points:
    140
    Digital Goods:
    1
    #3
    You can't just download some random free script off the internet that is going to work perfectly on your site without some changes made to it. If you don't know enough PHP to code this very simple script I very much doubt you would know how to implement it granted such script existed and the only thing you needed to update on it was the information to connect to your SQL database. Your best bet would to be learn PHP and SQL and implement it in your site yourself, OR you can pay someone to do it. Since it's a fairly easy script I could code it for you fairly cheaply.
     
    Pudge1, Jan 24, 2014 IP
  4. ash1ey82

    ash1ey82 Active Member

    Messages:
    588
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    88
    #4
    It shouldn't be too difficult to write, why don't you give it a shot. If not just edit a bookmarking script.
     
    ash1ey82, Jan 24, 2014 IP