ucfirst and ucword, php&MySQL
| From: | Joanna | Date: | Mon, 31 Jul 2000 13:00:51 +0000 |
| Subject: | ucfirst and ucword, php&MySQL | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-1639@lists.php.net to get a copy of this message | ||
hi everyone,
I'm trying to use ucfirst and ucword with string, but I'm running into
a problem, if the statment looks like this it works.
printf(ucword("hi all"));
but if I try to pull stuff out of the data base and capitalize it it does
not, is there another way to do this?
printf(ucword("%s all", $myrow["name"]));
I know pulling the stuff out of the data base works because
printf("%s all", $myrow["name"])
works fine.
Can any one help
thanks