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['
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[
... 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
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:
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
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
> >
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
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
8 matches
Mail list logo