On Jun 13, 2006, at 1:58 PM, tedd wrote:
At 11:33 AM -0700 6/13/06, sam wrote:
Wow this is hard I can't wait till I get the hang of it.
Capitalize the first letter of a word.
Try:
?php
$word = yikes;
$word[0]=strtoupper($word[0]);
echo($word);
?
This blows my mind. What should one
sam wrote:
On Jun 13, 2006, at 1:58 PM, tedd wrote:
At 11:33 AM -0700 6/13/06, sam wrote:
Wow this is hard I can't wait till I get the hang of it.
Capitalize the first letter of a word.
Try:
?php
$word = yikes;
$word[0]=strtoupper($word[0]);
echo($word);
?
This blows my mind.
Jochem Maas wrote:
I did berate the fact that you waited no more than 7 minutes before
sending a 'help me' reminder regarding your original post.
While I agree with most of what you are saying, you may want to check
that email again. Sams 'for Eyes burning...' email was in response to
And hey yo, Jochem,
I did RTFM, for hours, I always do before I post to the list. I just
I'd tell you to RTFM (although I did tell you to read the manual
regarding
the specifics of using preg_replace()'s 'e' modifier after showing
you a
working example of how to use it, based on your
Stut wrote:
Jochem Maas wrote:
I did berate the fact that you waited no more than 7 minutes before
sending a 'help me' reminder regarding your original post.
While I agree with most of what you are saying, you may want to check
that email again. Sams 'for Eyes burning...' email was in
At 3:45 AM -0700 6/14/06, sam wrote:
On Jun 13, 2006, at 1:58 PM, tedd wrote:
At 11:33 AM -0700 6/13/06, sam wrote:
Wow this is hard I can't wait till I get the hang of it.
Capitalize the first letter of a word.
Try:
?php
$word = yikes;
$word[0]=strtoupper($word[0]);
echo($word);
?
This
Wow this is hard I can't wait till I get the hang of it.
Capitalize the first letter of a word.
echo preg_replace('/(^)(.)(.*$)/', strtoupper('\\2') . '\\3', 'yikes!');
// outputs yikes!
Nope didn't work.
So I want to see if I'm in the right place:
echo preg_replace('/(^)(.)(.*$)/', '\\1' .
for
Eyes burning; caffein shakes; project overdue
Thanks
Why not just use ucfirst http://us2.php.net/manual/en/
function.ucfirst.php?
-Original Message-
From: sam [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 13, 2006 2:34 PM
To: PHP
Subject: [PHP] preg_replace \\1 yIKES!
Wow
sam wrote:
Wow this is hard I can't wait till I get the hang of it.
Capitalize the first letter of a word.
echo preg_replace('/(^)(.)(.*$)/', strtoupper('\\2') . '\\3', 'yikes!');
// outputs yikes!
Nope didn't work.
So I want to see if I'm in the right place:
echo
: [PHP] preg_replace \\1 yIKES!
Wow this is hard I can't wait till I get the hang of it.
Capitalize the first letter of a word.
echo preg_replace('/(^)(.)(.*$)/', strtoupper('\\2') . '\\3', 'yikes!');
// outputs yikes!
Nope didn't work.
So I want to see if I'm in the right place:
echo
On Tue, 2006-06-13 at 15:07, Jochem Maas wrote:
sam wrote:
for
Eyes burning; caffein shakes; project overdue
nobody here cares whether your project is overdue -
waiting 7 minutes before sending a 'reminder' about the
question you asked suggests you need to take a PATIENCE
lesson.
At 11:33 AM -0700 6/13/06, sam wrote:
Wow this is hard I can't wait till I get the hang of it.
Capitalize the first letter of a word.
Try:
?php
$word = yikes;
$word[0]=strtoupper($word[0]);
echo($word);
?
tedd
--
On 13/06/06, tedd [EMAIL PROTECTED] wrote:
At 11:33 AM -0700 6/13/06, sam wrote:
Wow this is hard I can't wait till I get the hang of it.
Capitalize the first letter of a word.
Why not use ucfirst(), that is what the function is for.
--
13 matches
Mail list logo