I have created a new 'page template' and (this is probably not the right way to do this, but this is the way I have got it working), and created a new page using that template. Within the page template (PHP file) I have made, I have put lots of PHP which makes the page function, like it has a simple login an view information from a SQL table.
The problem is, I need to be able to send $_GET data to the page. I can send POST fine, but not GET, and I dont know what the URL is.
For example, I would like to have clean URLs (that is what I have set wordpress to)
The name of the page template is teaching-portal, and I would like to get
mygetdata into PHP. But currently anything passed after teaching-portal results in a 404 page.
How can i achieve this?