![]() |
Problem with if ($_REQUEST['do'] == 'xxx'')
I have a .php file with that code. My problem: if I go to file.php?do=xxx.. I see the same that's on file.php. This is the code I'm using on that file:
Code:
if ($_REQUEST['do'] == 'xxx') |
I dont understand what you mean, what exactly do you get ?
|
try $_GET['do'] instead
|
No, to reply to both: I get the same page I have on file.php.
Both with REQUEST and with GET. PS: I have used this to create my page: https://vborg.vbsupport.ru/showthread.php?t=62164. |
You probably have another print_output at the end of the page right?
|
Yes, I have this code:
Code:
$navbits = array(); Solved: Code:
if ($_GET['do'] == 'mypage') |
All times are GMT. The time now is 06:53 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:
|