php variables, the how-to of GET and POST..

Passing variables between pages, is easy. Read on..

GET and POST, what's it all about?

I keep getting asked the same questions!

GET and POST, what's the difference?

A web browser can send two types of request, $_GET, and $_POST. $_GET variables you can see, tagged onto the end of the url; they looks like this..

In this example the variable "foo" has been sent, with a value of "bar".

$_POST variables you can't see. These are sent when a web browser (or whatever client) posts a form.

Welcome to!

Bugs? What bugs? Juggling two energetic boys (of very different ages) on Coronavirus lockdown, I'm unlikely to have them all fixed any time soon. Mail me! to prioritise!