/ Published in: PHP
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
// ex: human_list(array('one', 'two', 'three)) --> one, two, and three function human_list($itemList) { case 0: return ''; case 1: return $itemList[0]; default: } }