Get ready for BLACK FRIDAY shopping starting in

Forums

PHP

This topic is locked

New to php

Posted 05 Jan 2009 07:49:53
1
has voted
05 Jan 2009 07:49:53 Siva Prakash posted:
Hi,

I am Prakash, I am intterested in learning PHP and want to get your suggestions regarding the sites and materials that are easy to follow. I have already tried going through the hard copies but they ain't that easy to follow for the book is static but the s/w field is not and is constantly upgrading . Pls help with $HTTP_GET_VARS[] this thing won't work I tried them on IE6 nad Firefox with no success.

Thank you for your time.

grawcsr6ld

Replies

Replied 06 Jan 2009 19:49:19
06 Jan 2009 19:49:19 brad baker replied:
$HTTP_GET_VARS[] is the same as $_GET[].

So basically you have a URL that looks like test.com/index.php?id=1&var2=500

$_GET['id'] will give you 1 because its pulling the value from the URL with the associated var. So if you wanted 500 you would need to do $_GET['var2'].

www.w3schools.com/PHP/php_get.asp

Reply to this topic