/ Published in: PHP
Expand |
Embed | Plain Text
function Pluralize($number, $plural, $singular) { if ($number == 1) { return $singular; } else { return $plural; } }
You need to login to post a comment.
Tate on 01/13/09
3 people have marked this snippet as a favorite
function Pluralize($number, $plural, $singular) { if ($number == 1) { return $singular; } else { return $plural; } }
You need to login to post a comment.