/ Published in: PHP

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
function fday($time) { $end = 'st'; $end = 'nd'; $end = 'rd'; else: $end = 'th'; endif; } Usage: echo fday($time);
Comments
