I haven’t wrote PHP GET requests in a while. So I’m a little rusty. But how do I send GET data using an Html link. If I use jQuery’s get method’s I know how to do it, but I was just wondering if there is a simpler way using the href in Html or something similar.
Share
Put the parameters behind the url:
Then you can read the variables over $_GET
But this are PHP basics. Perhaps you should read the documentation before.
In jQuery with an ajax request its the same. You can put your parameters behind the url.
If you want to read all GET Parameters you can use a foreach loop.