View Full Version : get a varibal value from url?

11-23-2007, 10:03 PM
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.

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

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum