Re: [PHP] Simple PHP script

2003-02-13 Thread janet
In a message dated 2/13/2003 1:11:35 PM Pacific Standard Time, [EMAIL PROTECTED] writes: >I am new to PHP and had just written a simple php script to get things >started. I have the following code: > >if($submit1) { >echo "hello $vname"; >} else { >?> > > >Input yourname > > > > > >} >?> >So thi

RE: [PHP] Simple PHP script

2003-02-13 Thread Poon, Kelvin (Infomart)
Thanks everyone, It worked. Kelvin -Original Message- From: John Nichel [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 13, 2003 4:13 PM To: Poon, Kelvin (Infomart) Cc: '[EMAIL PROTECTED]' Subject: Re: [PHP] Simple PHP script Sigh if ( $_POST['submit1

Re: [PHP] Simple PHP script

2003-02-13 Thread John Nichel
Sigh if ( $_POST['submit1'] ) { echo ( "Hello $_POST['vname']" ); } http://www.php.net/manual/en/language.variables.scope.php http://www.php.net/manual/en/language.variables.external.php Poon, Kelvin (Infomart) wrote: Hi, I am new to PHP and had just written a simple php script to get thi

[PHP] Simple PHP script

2003-02-13 Thread Poon, Kelvin (Infomart)
Hi, I am new to PHP and had just written a simple php script to get things started. I have the following code: Input yourname So this page is suppose to display a input box and a submit button and once you enter ur name and press the button, it should show Hello [ur name] and the in