Capitalize First Letter for Create Accou

for osCommerce Online Merchant v2.2

This may be the simplest contribution ever. Many of our customers were to lazy to capitalize the first letter of the following fields : First Name Last Name City Business Name Street Address This drove me crazy, so, I fixed this for them on the fly using the ucwords() function. ------------------- Example from create_account.php To capitalize the first letter of the "first name" field: FIND : $firstname = tep_db_prepare_input($HTTP_POST_VARS['firstname']); CHANGE TO : $firstname = tep_db_prepare_input($HTTP_POST_VARS['firstname']); $firstname = ucwords($firstname); ------------ Done! Simply do that for any field you wish to capitalize for your customers.