If you're pulling data from an SQL database, the best approach may be to let the database do the work for you; SQL has a COUNT aggregate function. Something along the following lines, perhaps:
SELECT Name, COUNT(Home) AS HomeCount FROM People GROUP BY Name;
In reply to Re: Adding an element to an array
by AppleFritter
in thread Adding an element to an array
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |