Re: [PHP3] BANAL :-(
| From: | (Richard Lynch) | Date: | Wed, 07 Jun 2000 07:18:13 +0000 |
| Subject: | Re: [PHP3] BANAL :-( | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-1165@lists.php.net to get a copy of this message | ||
In article <39365420.5788499B@kud-kontrabant.si>, janez@kud-kontrabant.si
(Janez Vrenjak) wrote:
> I know that is silly but why won't the else statment work:
> if ($Radio1==1){
> if ($Radio2==1){
> if ($Radio3==1){
> if ($Radio4==1){
> if ($Radio5==1){
> if ($Radio6==1){
> if ($Radio7==1){
> if ($Radio8==1){
> if ($Radio9==1){
> if ($Radio10==1){
> if ($Radio11==1){
> if ($Radio12==1){
> if ($Radio13==1){
> if ($Radio14==1){
> if ($Radio15==1){
> if ($Radio16==1){
> if ($Radio17==1){
> if ($Radio18==1){
> if ($Radio19==1){
> if ($Radio20==1){
>
> include ('file1');
> }}}}}}}}}}}}}}}}}}}} else {
> include ('file2');
> };
Exactly how is it not working?
You did count the }s correctly, right?...
The ; after that last } is bogus but harmless, I think.
--
Richard Lynch | If this was worth $$$ to you, buy a CD
US Customer Support Director | from one of the artists listed here:
Zend Technologies USA | http://www.L-I-E.com/artists.htm
http://www.zend.com | (this has nothing to do with Zend,
duh!)