I need to make a register page that needs a referral code to register


#1

<PLEASE USE THE FOLLOWING TEMPLATE TO HELP YOU CREATE A GREAT POST!>

<Below this line, add a link to the EXACT exercise that you are stuck at.>
Just as the title says I’m in need of a register and login page. The register page needs to have a referral code in order to register with this website.

<In what way does your code behave incorrectly? Include ALL error messages.>

```

Replace this line with your code.

<do not remove the three backticks above>

#2

I can understand what the title is saying, but i don’t see a question anywhere, what is the question?


#3

Is it possible to make a register page that needs a referral code to register


#4

Of course it is. What’s the problem?


#5

What does referral code means in this situation?


#6

For example, I might already be registered, and if you want to register, I will have to give you a code to join.

It’s like a club where you have to be friends with someone who’s already in to join.


#7

That is most certainly possible. you can people, who are already a member of your website, let generate a key, then store the key in the database for a certain amount, and use a scheduler to remove the key from the database after a time which suits you (two hours), so the user has two hours to register, on successful register also remove the key.


#8

Yes this it exactly what I need. Can anybody help me write this code?


#9

Jibblyj that is what I want. Kinda like a friend system


#10

I understand what you mean, but I don’t really know how to do it… The things that I think you’d need are:

  • HTML/CSS
  • Server-side lang.(PHP)
  • Database(mySQL)
    But I’ve no idea what to do with them… Try some Google searches.

#11

You want us to create and design software for free? Why should we do that?


#12

the database should be mysql, sql are the query’s you use to store and retrieve data from a database