Re: parsing value by URL-worked
| From: | Richard Davey | Date: | Wed, 12 May 2004 11:56:44 +0000 |
| Subject: | Re: parsing value by URL-worked | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-185979@lists.php.net to get a copy of this message | ||
Hello,
Wednesday, May 12, 2004, 12:53:44 PM, you wrote:
gr> thanks a lot dear Zac and richard
gr> that worked. I earlier tried $_POST[name] but not $_GET[name].
gr> thanks again
No worries. One point though - make sure you use $_GET['name'] and
*not* $_GET[name] (note the lack of quotes) - there is a big
difference between the two, the un-quoted version will cause PHP to
check its defined constants first, so you're adding un-needed overhead
and potential error warnings just by missing out those two little
characters :)
--
Best regards,
Richard Davey
http://www.phpcommunity.org/wiki/296.html