Re: [PHP] If... Else.. I'm not getting it!

2003-01-25 Thread Jason Wong
On Saturday 25 January 2003 19:18, Frank Keessen wrote: > Hi, > > The register_globals = Off. Dit the basic echo ($submit) but it displays > nothing.. > > Any thoughts somebody?? > > If register_globals is not enabled then you need to use $_POST['submit'] > > (just > > > as you had to use $_POST['

Re: [PHP] If... Else.. I'm not getting it!

2003-01-25 Thread Frank Keessen
Sent: Saturday, January 25, 2003 12:42 PM Subject: RE: [PHP] If... Else.. I'm not getting it! > You are using the post method not get so $_GET[] should be empty. > > Does this version of your code work? > > if(isset($_POST['submit'])) { > $vname=$_POST[

RE: [PHP] If... Else.. I'm not getting it!

2003-01-25 Thread Rich Gray
... Else.. I'm not getting it! Hi, Thanks, but i'm a kind of a newbie in PHP and what i've read it's better to have the register_globals = Off!!! If you look at my code you see that i'm using the $_GET variable.. This works fine!! It's the IF.. ELSE what giv

Re: [PHP] If... Else.. I'm not getting it!

2003-01-25 Thread Frank Keessen
iginal Message - From: "Johannes Schlueter" <[EMAIL PROTECTED]> To: "Frank Keessen" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Saturday, January 25, 2003 12:25 PM Subject: Re: [PHP] If... Else.. I'm not getting it! Hi, On Saturday 25 January 2003 12:

Re: [PHP] If... Else.. I'm not getting it!

2003-01-25 Thread Johannes Schlueter
Hi, On Saturday 25 January 2003 12:18, Frank Keessen wrote: > The register_globals = Off. Dit the basic echo ($submit) but it displays > nothing.. > > Any thoughts somebody?? Switch on register_globals or (better!) use $_GET['submit'], $_POST['submit'] or $_REQUEST['submit']. > Thanks for helpi

Re: [PHP] If... Else.. I'm not getting it!

2003-01-25 Thread Frank Keessen
IL PROTECTED]> Sent: Saturday, January 25, 2003 11:36 AM Subject: Re: [PHP] If... Else.. I'm not getting it! > On Saturday 25 January 2003 18:27, Frank Keessen wrote: > > > But when i'm using IF Else.. Nothing is happening. I'm only seeing the form > >

Re: [PHP] If... Else.. I'm not getting it!

2003-01-25 Thread Jason Wong
On Saturday 25 January 2003 18:27, Frank Keessen wrote: > But when i'm using IF Else.. Nothing is happening. I'm only seeing the form > but when i submit that form: The $vname doen't display.. > > Here is the code that doesn't work: > > $vname=$_POST['vname']; > if($submit) { Try some basic debu

[PHP] If... Else.. I'm not getting it!

2003-01-25 Thread Frank Keessen
Hi all, Please can you help me with the following: If got a little sample code: This one is working (!): Input yourname But when i'm using IF Else.. Nothing is happening. I'm only seeing the form but when i submit that form: The $vname doen't display.. Here is the code that doesn't wo