echo "My Name is " . $_GET['myName'] . "\n";

  Specify where myName is from! It's coming from GET method, in other
(simplistic) words, from the url.

--
Julio Nobrega.

Tô chegando:
http://www.inerciasensorial.com.br
"Paras Mukadam" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I'm using this simple command in my PHP script :
>  echo "My Name is " . $myName . "\n";
>
> I'm invoking the php page by the command
> http://localhost/testing/test.php?myName=Paras
>
> I'm getting eoor :
> Notice: Undefined variable: myName in c:\apache\htdocs\testing\test.php on
> line 12
> My Name is
>
>
> Please help.
> Regards,
> Paras.
>
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to