[PHP] Sum from Arrays ?

2001-02-07 Thread Keith Whyman
It's probably a stupid question but... I've got the following ; SELECT t_category_name COUNT(*) AS count FROM t_city,t_zipcodecity,t_location,t_category , t_locationcategory WHERE (t_category_id_category = t_locationcategory_id_category) AND (t_location_id_location = t_locationcategory_id

Re: [PHP] Sum from Arrays ?

2001-02-07 Thread Keith Whyman
= 1; > $a[1] = 3; > $a[2] = 5; > $result = count ($a); > //$result == 3 > > Here's a link: > http://php.net/manual/en/function.count.php > DISCLAIMER: I am by no means well-versed in this, or any other, topic > - Shane > > - Original Message - > Fro