I have already setup account fields, and I have two roles (A) and (B) I need to create a page with two button links :
- register as (A)
- register as (B)
when the user choose one of these two links, he will go to the registration page and after filling the form, he will be registred and automatically get the role (A) or (B) pursuant the link chosen above
the problem is: how can I pass the info of what choice the user has chosen (first or second link) to the registration form.
I thought to pass it inside the request URI and then get it via
$_GET but Is there another solution wihtout showing any query to the user in the URL ?
Thanks in advance.