#35254 [Opn->Bgs]: please see description
ID: 35254
Updated by: derick@php.net
Reported By: admin at saribyte dot com
-Status: Open
+Status: Bogus
Bug Type: Unknown/Other Function
Operating System: Linux
PHP Version: 4CVS-2005-11-17 (CVS)
New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions. Due to the volume
of reports we can not explain in detail here why your report is not
a bug. The support channels will be able to provide an explanation
for you.
Thank you for your interest in PHP.
.
Previous Comments:
------------------------------------------------------------------------
[2005-11-17 07:35:48] admin at saribyte dot com
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 this bug report at http://bugs.php.net/?id=35254&edit=1
Thread (2 messages)