Jump to content

"?" in link '{$_SERVER['PHP_SELF']}?nCurrentPage=$nNextPage'


mrherman

Recommended Posts

I'm trying to understand a great pagination tutorial posted on PHPFREAKS.  Using the $_GET method, the links are processed.  An example is:

 

'{$_SERVER['PHP_SELF']}?nCurrentPage=$nNextPage'

 

The part I don't quite understand is the "?" (question mark).  Where does it come from and what precisely does it mean?  Does it always mean the same thing (or serve the same function) in every URL address?  For example, the address that is showing on my browser at this moment has a "?" embedded:

 

http://www.phpfreaks.com/forums/index.php?action=post;board=1.0

 

Thank you!

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.