$_GET variable not passing successfully.







I am trying to set up a page to use some pagination, and I’m using ‘page’ as a variable in a URL so that it can be passed by $_GET. The format of the URL is this:

https://www.example.com/?module=repo…lengths&page=2

Yet when I try to retrieve $_GET[‘page’], PHP returns an error that says the index ‘page’ is undefined. Even though I know very well that I defined it in the URL.

Read the entire article at the source link…


#codango #developer #development #coder #coding

We're happy to share this resource that we found. The content displayed on this page is property of it's original author and/or their organization.

 

Leave a Reply

Your email address will not be published. Required fields are marked *

*