...

View Full Version : get a varibal value from url?



kamkam
11-23-2007, 11:03 PM
Hi;
I'd like to ask you how i get a varibal value from url.

the url is "http://mysite.com/country/Category.php?page=1/"

i want to get the page value.

i tried the following, it does not work.

echo $_GET["page"];
echo $_POST["page"];
echo $_REQUEST["page"];


could anyone tell me hoe to get the value of page, please.

Inigoesdr
11-23-2007, 11:32 PM
echo $_GET["page"]; will work if you remove the trailing slash.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum