Re[2]: [PHP] Can If Else statements be split into code blocks??

From: Date: Tue, 13 Nov 2001 09:24:17 +0000
Subject: Re[2]: [PHP] Can If Else statements be split into code blocks??
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-74394@lists.php.net to get a copy of this message
RB> <?php RB> if (strstr($DomResults,$Match)) RB> print "Congratulations! $domain.$suffix is available!"; ?>> RB> <form method="POST" action="step2.asp" name="form2"> RB> <p><input type="submit" value="Register" RB> name="B1"></p> RB> </form> RB> <?php RB> else RB> print "Sorry, $domain.$suffix is already taken."; ?>> You definitely needs curly brackets. Kind regards, Morten Winkler

« previous php.general (#74394) next »