![]() |
Using $_GET
I want to know how to make those PHP links like:
index.php?page=hello index.php?page=player&id=747 etc.. Someone please tell me how, and if there is another way other than $_GET, then please tell me. I'm not a beginner, but teach me as a beginner please. |
do you want to know how read it into the php file or how to make a link to a php file?
also you made a contradiction, you are beginner or you aren't. you can't be both, sry:( |
I wrote this I hope it helps.
|
Quote:
Quote:
You got it, OK now teach me the HARD WAY! And can you also tell me how can I use the CASE and ARRAY |
Quote:
|
Thanks Marco, but can anyone also tell me how can I do the sub sub pages, like index.php?act=mods&do=download&modid=45
__________________ One extra thing, what is "global $anything, $anothervar" I read about it and it's: An associative array containing references to all variables which are currently defined in the global scope of the script. The variable names are the keys of the array. So I wanted to know what's the use of it? |
Just create if branches in your script:
|
Quote:
|
if($_REQUEST['modid'] == 46)
{ do something; } if($_REQUEST['page'] == "home) { do something else; } please though run your data through the vbulletin GPC if your using vbulletin or sanatize incoming data. |
PHP Code:
|
All times are GMT. The time now is 11:58 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|