Logic Help...

From: Date: Tue, 26 Aug 2003 14:03:29 +0000
Subject: Logic Help...
Groups: php.db 
Request: Send a blank email to php-db+get-30096@lists.php.net to get a copy of this message
This isn't specifically a DB related question, but... The following code snippet is not functioning for me. I keep receiving a parse error on the "if" line. Basically I want to stop execution of this page if either of the conditions in the "if" statement exist. Thanks in advance. # while($cntr != 0) { # if (($shell[$cntr] eq "") || ($grp[$cntr] eq "Primary Gr")) { # echo "<p align=\"center\"><font color=\"#99CCCC\" size=\"4\">Sorry, but your request was not filled out completely. Please resubmit this request ensuring that you have selected a Primary Group and Default Shell.</font></p>"; # echo "<p align=\"center\"><font color=\"#99CCCC\" size=\"4\">Please follow this <a href=\"http://ldsa.sbcld.sbc.com/sa_bulletin/sa_board.htm\">link</a> to return to the beginning of the request process.</font></p>"; # exit; # } # } Scott Nipp Phone: (214) 858-1289 E-mail: sn4265@sbc.com Web: http:\\ldsa.sbcld.sbc.com

« previous php.db (#30096) next »