Re: Simple If-else statement - Fixed

From: Date: Tue, 27 Mar 2001 21:22:03 +0000
Subject: Re: Simple If-else statement - Fixed
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-45786@lists.php.net to get a copy of this message
Hi, for the haeder just make sure that there is NO output whatsoever before the header-call. even if line 1 of your script is empty before the <?php-tag the header doesn't work. "Louis Brooks" <mbrooks@mailer.fsu.edu> schrieb im Newsbeitrag news:5.0.0.25.2.20010327155927.009e2710@mailer.fsu.edu... > Thanks for all the help. I finally got it to work. I ended up using a bunch > of if ($lname=="") { statements instead of if (($lname=="") || > ($fname=="")) { and that seems to be working. I still can't get the > header() statement to work. So I just cheated and put in some text telling > the user to hit the back button and fill out the rest of the information on > the form. > > Louis > >

« previous php.general (#45786) next »