ID:               39023
 Updated by:       [EMAIL PROTECTED]
 Reported By:      nicolas dot breuer at belcenter dot be
-Status:           Open
+Status:           Bogus
 Bug Type:         *General Issues
 Operating System: Linux
 PHP Version:      4.4.4
 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:
------------------------------------------------------------------------

[2006-10-03 10:33:26] nicolas dot breuer at belcenter dot be

some details to be clear : 

 Expected result:
----------------
0
0
0

Actual result:
--------------
0

0
0

0

------------------------------------------------------------------------

[2006-10-03 10:27:56] nicolas dot breuer at belcenter dot be

Description:
------------
 When i retrieve a value from a mysql db, 
 value returned is nothing or "0" , "if" command
 is not executed as well.

 

Reproduce code:
---------------
// in a while process
 $value="";
 $reqt = mysql_query("select value from table where  ref='$xxx'");
 $value = mysql_result($reqt,0,"value");

 if ($value=="0"){
 echo "$value"; }
 

Expected result:
----------------
 each echo value should be "0"

Actual result:
--------------
 i have some results with $value = nothing.


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=39023&edit=1

Reply via email to