Gossamer Forum
Home : General : Internet Technologies :

First letter of a string to uppercase in php, how?

Quote Reply
First letter of a string to uppercase in php, how?
What is the php function to convert the first letter of a string to upper case? i know how to make the whole string uppercase but not the first letter
Quote Reply
Re: [WoSkI] First letter of a string to uppercase in php, how? In reply to
The php website is there for a reason :)

http://www.php.net/...function.ucfirst.php
Quote Reply
Re: [Paul] First letter of a string to uppercase in php, how? In reply to
yeah i know, that has answered 95% of my questions to date, im not that advanced with php as yet but that websites bandwidth is getting mostly used by me.

I will search that website and if i cant find what im looking for i will post at a forum board. So dont go thinking i havent searched as ive just about memorised that site. So im not one of them lamers that are too lazy to search and take the easy way, ive searched and gotten no where. Ive learnt so much from searhcing that website, only lamers that dont want to learn at any rate slower than snails pace wont bother searching first and just take the easy way out.

by the way, thanks for url. I looked at strtoupper() but missed the ucfirst() and ive never heard of that function before until now.

later...