# \[help\] Create a referral system?

**URL:** <https://forum.kirupa.com/t/help-create-a-referral-system/249206>\
**Category:** programming\
**Created:** [January 16, 2008, 2:23pm UTC](https://forum.kirupa.com/t/help-create-a-referral-system/249206 "2008-01-16T14:23:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![cjj](https://avatars.discourse-cdn.com/v4/letter/c/ecc23a/32.png) [@cjj](https://forum.kirupa.com/u/cjj)\
**Post date:** [January 16, 2008, 2:23pm UTC](https://forum.kirupa.com/t/help-create-a-referral-system/249206/1 "2008-01-16T14:23:59Z")

</div>

Hi. I’ve created a sort of referral system on my website, where if you send someone to a specific link to sign up it gives you a point in a MYSQL table.

Then when you go to a specific page it will show how many users you have referred to the website. On this page I need to create a script that will determine how many users you have signed up and from that give you a prize of some sort.  
So if you have signed up 1 user you get something and 5 users and 20 and so on.

Im not sure how to go about this? I would really appreciate some help.
