Re: php beginner

From: Date: Sat, 04 May 2002 22:20:29 +0000
Subject: Re: php beginner
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-96089@lists.php.net to get a copy of this message
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" <parasmk@yahoo.com> wrote in message news:20020504214054.77082.qmail@pb1.pair.com... > 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. > >

« previous php.general (#96089) next »