sending data with uri (but doesn't affect the page its trying to reach)
Okay so, see image
Every group would be using a uid, which should be accesable when copying the link, so that you can send it to someone and they can go to the correct page
but, how do I do this? I'm new to php and I've tried looking online but I can't find the right answer.
Doing it like this just gave me the 404 cant find page as its probably looking for
group.php?gid=id1
instead of just group.php
My idea is to then read the data in the GET (before it gets to the html) to load in the data from the group with that uid
I know that I'll have to put it in a variable eventually with the actual group ID, but right now I'm just trying to get it to work as intended1 Reply
Nevermind, its fixed!
I just didn't make the page yet '-'
but I don't see the
?gid=id1
in the url, why is that?
Okay, I should genuinly first properly look at my code before asking anything , it's fixed
I had removed it from the link myself
I shouldn't type code this late