Bug #16576 Updated: Else if fails when seperated @ least
| From: | sander@php.net | Date: | Fri, 12 Apr 2002 19:24:23 +0000 |
| Subject: | Bug #16576 Updated: Else if fails when seperated @ least | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-4772@lists.php.net to get a copy of this message | ||
ID: 16576
Updated by: sander@php.net
Reported By: josephcohen11@yahoo.com
-Status: Open
+Status: Bogus
Bug Type: Scripting Engine problem
Operating System: Windows 2000
PHP Version: 4.1.2
New Comment:
The bug system is not the appropriate forum for asking support
questions. For a list of a range of more appropriate places to ask
for help using PHP, please visit http://www.php.net/support.php
Hint: elseif is ONE word
Previous Comments:
------------------------------------------------------------------------
[2002-04-12 15:18:32] josephcohen11@yahoo.com
if i have html and then i embed php, i cannot use else if, only if
(which REALLY SUCKS for forms.)
this isn't my code but it illustrates the issue
example:
You should see an X int the slot you selected:<br>
<?php if($HTTP_GET_VARS['Slot']==1) echo 'X';?>:<?php else
if($HTTP_GET_VARS['Slot']==2) echo 'X';?>:
etc.
Adding curlies to the ifs and parentheses to the echo don't help.
please email me a fix if its my mistake, or fix the bug if its yours
thanks,
joe
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=16576&edit=1