How to I pluralize in php?

fufel

New Member
Ok so i have this chunk of code\[code\]<p id="number_of_stations" class="text left"><?php $_GET['count'] != "" ? print "{$_GET['count']} Stations" : print "Number of Stations" ?></p>\[/code\]and $_GET['count'] will be either 1, 2, 3, 4 or 5 and i need to print out the following\[code\]1 Station2 Stations3 Stations4 Stations5 Stations\[/code\]but the code i have above will always print the plural form and not the singular
 
Back
Top