#35254 [NEW]: please see description
| From: | admin at saribyte dot com | Date: | Thu, 17 Nov 2005 06:35:49 +0000 |
| Subject: | #35254 [NEW]: please see description | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-88335@lists.php.net to get a copy of this message | ||
From: admin at saribyte dot com
Operating system: Linux
PHP version: 4CVS-2005-11-17 (CVS)
PHP Bug Type: Unknown/Other Function
Bug description: please see description
Description:
------------
when I check my checkboxes at www.webmotoren.de/advanced.php the al of
them get set except one of them: "Automatik"
This is happening for no reason
Reproduce code:
---------------
HTML
*************************************************
<tr>
<td align=right>Automatik:</td>
<td> <INPUT value="1" type="CHECKBOX"
name="Automatik"></td>
</tr> <tr>
<td align=right>metallic:</td>
<td> <INPUT value="1" type="CHECKBOX"
name="metallic"></td>
</tr>
***********************************************************
php
***********************************************************
if(!empty($_POST[Automatik]))
{
$isautomatik = 1;
}
if(!empty($_POST[metallic]))
{
$ismetallic = 1;
}
***********************************************************
Output
***********************************************************
if($isautomatik)
{
$query[] = "(re2_listings.Automatik= '$isautomatik')";
}
if($ismetallic)
{
$query[] = "(re2_listings.metallic= '1')";
}
***********************************************************
Expected result:
----------------
When Automatik is checked, the (re2_listings.Automatik='1') should be
printed as well!
Actual result:
--------------
all of the checked boxes get set except Automatik
Please check www.webmotoren.de/advanced.php and check the boxes to test
--
Edit bug report at http://bugs.php.net/?id=35254&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=35254&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=35254&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=35254&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=35254&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=35254&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=35254&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=35254&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=35254&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=35254&r=support
Expected behavior: http://bugs.php.net/fix.php?id=35254&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=35254&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=35254&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=35254&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=35254&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=35254&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=35254&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=35254&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=35254&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=35254&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=35254&r=mysqlcfg