This may not be exactly what you think, but I didn't know how else to word
the title. I basically need to make a script that will go through every
possible color combination and print them to look just like (or similar) to
the windows color picker. I need it in the format X-Y-Z. For example:
2
ED]> wrote in message
news:[EMAIL PROTECTED]
On Wed, 2008-02-27 at 16:24 -0500, Robert Cummings wrote:
On Wed, 2008-02-27 at 16:13 -0500, Keikonium wrote:
> I'm sure this is really easy to accomplish, but I just can't seem to
> figure
> it out. I have the following:
>
>
I'm sure this is really easy to accomplish, but I just can't seem to figure
it out. I have the following:
$str = "
mary had a little lamb
it's fleece was white as snow
and everywhere that mary went
the lamb was sure to go";
Using ucfirst($str) will only capitalize the first letter of the string
YE! That works perfectly ^_^. Thank you very much for helping out a PHP
noob lol.
"Robert Cummings" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
On Wed, 2008-02-27 at 01:53 -0500, Keikonium wrote:
Here is an example of the text I want to update:
[01:19:23]
05:80]Are singing along
"Robert Cummings" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Show me an example of actual text where you want to update the format.
Cheers,
Rob.
On Wed, 2008-02-27 at 01:42 -0500, Keikonium wrote:
I am a bit confused by your code, Rob
t;, "28", "29", "30", "31", "32", "33", "34",
"35", "36", "37", "38", "39", "40", "41", "42", "43", "44", "45", "46&qu
uot;, "57", "58",
"59", "60", "61", "62", "63", "64", "65", "66", "67", "68", "69", "70",
"71", "72", "73", "74", "75", "76", "77", "78", "79", "80", "81", "82",
"83", "84", "85", "86", "87", "88", "89", "90", "91", "92", "93", "94",
"95", "96", "97", "98", "99", "00");
$x = array_search($nums,$nums);
$format1 = array("[$x:$x:$x]", "[$x:$x.$x]");
$format2 = array("[$x:$x.$x]", "[$x:$x:$x]");
It is linked up with a textbox and a button if that matters any. I just need
to beable to have the script look at the array, and match it with whatever
the user types in. Unless there is a different way to get what I need?
Thank you,
Keikonium
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
7 matches
Mail list logo