PHP Classes

FBCount: Generate enumerated lists of name

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 103 All time: 9,699 This week: 794Up
Version License PHP version Categories
fbcount 1.0GNU Lesser Genera...4.0Text processing


This class can generate enumerated lists of names.

It takes an array with a list of names and generates a single string separated with commas except the last two names that are separated by the word "and".

The names can be formatted with a configurable template string that is passed to the sprintf function. If the name list array is associative, both the array entry values and keys are passed.

Picture of Nemanja Avramovic
Name: Nemanja Avramovic <contact>
Classes: 9 packages by
Country: Serbia Serbia
Age: 37
All time rank: 2011 in Serbia Serbia
Week rank: 398 Down3 in Serbia Serbia Down
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
File Role Description
Plain text file fbcount.class.php Class Class itself
Accessible without login Plain text file fbcount.test.php Example Example of usage

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:9,699
This week:794Up