ID:               25656
 Updated by:       [EMAIL PROTECTED]
 Reported By:      vijay at mitoken dot com
-Status:           Open
+Status:           Bogus
 Bug Type:         *General Issues
 Operating System: windows 2000 Professional
 PHP Version:      4.3.3
 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. 

Thank you for your interest in PHP.

This is not a scripting support forum.


Previous Comments:
------------------------------------------------------------------------

[2003-09-25 10:29:04] vijay at mitoken dot com

Description:
------------
i am using jpgraphs to generate reports, and i use php to set the
values. i have some problems in setting minimum value. can anybody help
me. following is my code.



Reproduce code:
---------------
function getsumofmindata($datay)
{

    for($i=0; $i<count($datay);$i++)
        {
                if($datay[$i] < $datay[$i+1] )
                $datay[$i+1]  = $datay[$i];
        }
        return $datay[count($datay)-1];
}

Expected result:
----------------
return value should get minimum value

Actual result:
--------------
giving some junk value


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


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

Reply via email to