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

From: Date: Sat, 25 Jan 2003 11:18:15 +0000
Subject: Re: If... Else.. I'm not getting it!
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-133092@lists.php.net to get a copy of this message
Hi, The register_globals = Off. Dit the basic echo ($submit) but it displays nothing.. Any thoughts somebody?? Thanks for helping me out on this cloudy saturday (in Amsterdam!) Regards, Frank ----- Original Message ----- From: "Jason Wong" <php-general@gremlins.biz> To: <php-general@lists.php.net> 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 > > but when i submit that form: The $vname doen't display.. > > > > Here is the code that doesn't work: > > > > <?php > > $vname=$_POST['vname']; > > if($submit) { > > Try some basic debugging techniques like echo ($submit). You'll see nothing, > hence that IF clause fails. > > If register_globals is not enabled then you need to use $_POST['submit'] (just > as you had to use $_POST['vname']). > > -- > Jason Wong -> Gremlins Associates -> www.gremlins.biz > Open Source Software Systems Integrators > * Web Design & Hosting * Internet & Intranet Applications Development * > > /* > Confidence is simply that quiet, assured feeling you have before you > fall flat on your face. > -- Dr. L. Binder > */ > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.general (#133092) next »