Re: Information
| From: | Hannes Magnusson | Date: | Wed, 22 Jun 2011 20:32:48 +0000 |
| Subject: | Re: Information | ||
| References: | 1 2 3 | Groups: | php.webmaster |
| Request: | Send a blank email to php-webmaster+get-11256@lists.php.net to get a copy of this message | ||
On Wed, Jun 22, 2011 at 22:23, Donnell, Jason <Jason.Donnell@fmcti.com> wrote:
> Yes, I am using $_GET (the PHP superglobal). That was a typo and I just did not use the
> correct case when typing this email. I am able to pass variables from PHP to my PHP server script
> using $_GET. It's just that once I pass the variable to the function, the variable suddenly
> becomes 'undefined'. I know this is strange, but the only way I could fix this problem
> was to pass the variable by reference. I don't need to pass all variables by reference, just
> the ones that I obtained via the $_GET function I must pass by reference.
>
None of what you are describing makes any sense, and you are surely
doing something wrong.
In any case, is this not what you want in the manual?
http://no.php.net/manual/en/faq.html.php#faq.html.javascript-variable
-Hannes