PHP 1st, 2nd, 3rd, 4th, 5th, 6th – PHP Add Ordinal Number Suffix
This is simple function to add English ordinal number suffix after normal number. Function takes number as a parameter and returns number with suffix, like:
1st, 2nd, 3rd, 4th, 5th, 6th...
[inttf_post_ad1]
This is example table of ordinal numbers 1 to 100
1st 2nd 3rd 4th 5th 6th 7th 8th 9th ...