F
Filament12mo ago
lodeki

Access referral code from the register url

Hi, I have this register link for a registration referral http://localhost:8000/register?referral_code=656e0c .I want to save the referral link when the user registers .I've tried to access the code using the $_GET['referral_code'] but i get Undefined array key .Any idea of what i'm missing? Thank you.
3 Replies
Np
Np12mo ago
Use $request->referral_code @lodeki
Iranzi Dev
Iranzi Dev10mo ago
Did you find the solution?
lodeki
lodekiOP10mo ago
Yes
Want results from more Discord servers?
Add your server