ID:               25561
 Updated by:       [EMAIL PROTECTED]
 Reported By:      zarwell at hotmail dot com
-Status:           Open
+Status:           Wont fix
 Bug Type:         Feature/Change Request
-Operating System: Linux
+Operating System: *
 PHP Version:      4.3.2
 New Comment:

Please do this in your SQL statements where it belongs.


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

[2003-09-16 14:24:23] zarwell at hotmail dot com

Description:
------------
Example, I have an array with employee names, their empid's, and a few
sales stats fields. I need to get totals for each employee on the
different sales fields. I currently have to do something like a foreach
on the array and add the totals to another variable for each employee.
This would be nice:
array_count_all($array['phn_sales'],$array['empid'],12)
//get the total from phn_sales where empid = 12
Something like that.



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


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

Reply via email to