/ Published in: PHP
Expand |
Embed | Plain Text
function fday($time) { $end = 'st'; $end = 'nd'; $end = 'rd'; else: $end = 'th'; endif; } Usage:
You need to login to post a comment.
cigraphics on 05/23/10
1 person have marked this snippet as a favorite
function fday($time) { $end = 'st'; $end = 'nd'; $end = 'rd'; else: $end = 'th'; endif; } Usage:
You need to login to post a comment.