mrherman Posted February 10, 2010 Share Posted February 10, 2010 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! Link to comment https://forums.phpfreaks.com/topic/191706-in-link-_serverphp_selfncurrentpagennextpage/ Share on other sites More sharing options...
schilly Posted February 10, 2010 Share Posted February 10, 2010 it means everything after it is not part of the filename and also variables that need to be parsed by the php engine into the $_GET array. not totally sure if that is the right wording or not. Link to comment https://forums.phpfreaks.com/topic/191706-in-link-_serverphp_selfncurrentpagennextpage/#findComment-1010459 Share on other sites More sharing options...
mrherman Posted February 11, 2010 Author Share Posted February 11, 2010 Thank you for replying. So, the "?" is really just a divider, then? Would that be correct to say? Link to comment https://forums.phpfreaks.com/topic/191706-in-link-_serverphp_selfncurrentpagennextpage/#findComment-1010473 Share on other sites More sharing options...
schilly Posted February 11, 2010 Share Posted February 11, 2010 ya pretty much =) Link to comment https://forums.phpfreaks.com/topic/191706-in-link-_serverphp_selfncurrentpagennextpage/#findComment-1010540 Share on other sites More sharing options...
mrherman Posted February 11, 2010 Author Share Posted February 11, 2010 Thanks again! Link to comment https://forums.phpfreaks.com/topic/191706-in-link-_serverphp_selfncurrentpagennextpage/#findComment-1010542 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.