Creating a referral link to auto fill a user username on the registration form

  html, php

How to create a referral link to auto fill a user username on the registration form? I don’t have any idea on how does this work and even how to start it. All I have is:

https://mywebsite.com/register?ref=<?php echo ($user['username']);?>

Please, I need helps. Thanks in advance.

Source: Ask PHP

LEAVE A COMMENT