/ Published in: PHP
Expand |
Embed | Plain Text
function titleCase($string) { $i=0; $last= ""; $new= ""; while ($i<$len): else: endif; $last=$char; $i++; endwhile; return($new); };
Comments
Subscribe to comments
You need to login to post a comment.

echo ucwords('PHP has a native function for this, use it instead!');