good day,
i found this message:
and i want to know more about it too.
=============== =============== ============
Hey all,
example:
$s_Colors="0066 FF;0066CC;3366C C;0033FF;003399 ;003366;99CCFF; 3399FF;0099FF;6 6
99CC;336699;006 699;66CCFF;33CC FF;00CCFF;3399C C;0099CC;003333 ;99CCCC;66CCCC; 3
39999;669999;00 6666;336666;CCF FFF;99FFFF;66FF FF;33FFFF;00FFF F;00CCCC;99FFCC ;
66FFCC;33FFCC;0 0FFCC;33CCCC;00 9999;66CC99;33C C99;00CC99;3399 66;009966;00663 3
;66FF99;33FF99; 00FF99;33CC66;0 0CC66;009933;99 FF99;66FF66;33F F66;00FF66;3399 3
3;006600;CCFFCC ;99CC99;66CC66; 669966;336633;0 03300;33FF33;00 FF33;00FF00;00C C
00;33CC33;00CC3 3;66FF00;66FF33 ;33FF00;33CC00; 339900;009900;C CFF99;99FF66;66 C
C00;66CC33;6699 33;336600;99FF0 0;99FF33;99CC66 ;99CC00;99CC33; 669900;CCFF66;C C
FF00;CCFF33;CCC C99;666633;3333 00;CCCC66;CCCC3 3;999966;999933 ;999900;666600; F
FFFFF;CCCCCC;99 9999;666666;333 333;000000;43dd dd;65432b;77766 5;4443cc;CCCCC3 ;
A906B0;9CC33F;C 8C8C8;688888;77 7752;66E554;765 5FF;555577;D4DC E8;99AECE;3A5A8 A
;9A0030;EF3F6B; FFF543;C906CF;A A2222 ";
And true a function i add random colors in the string,
$s_Colors.= ";".strtoupper( $_POST['colorvalue']);
then i make one array:
$a_Colors=array _change_key_cas e(split(";",$s_ Colors), CASE_UPPER);
when i do
sort($a_Colors) ;
print_r($a_Colo rs);
or
asort($a_Colors );
print_r($a_Colo rs);
the values are not correct sorted..!
oke i understand the difference of the hex index so anybody idea??
Cheers,
D
=============== =============== =============== ======
i found this message:
and i want to know more about it too.
=============== =============== ============
Hey all,
example:
$s_Colors="0066 FF;0066CC;3366C C;0033FF;003399 ;003366;99CCFF; 3399FF;0099FF;6 6
99CC;336699;006 699;66CCFF;33CC FF;00CCFF;3399C C;0099CC;003333 ;99CCCC;66CCCC; 3
39999;669999;00 6666;336666;CCF FFF;99FFFF;66FF FF;33FFFF;00FFF F;00CCCC;99FFCC ;
66FFCC;33FFCC;0 0FFCC;33CCCC;00 9999;66CC99;33C C99;00CC99;3399 66;009966;00663 3
;66FF99;33FF99; 00FF99;33CC66;0 0CC66;009933;99 FF99;66FF66;33F F66;00FF66;3399 3
3;006600;CCFFCC ;99CC99;66CC66; 669966;336633;0 03300;33FF33;00 FF33;00FF00;00C C
00;33CC33;00CC3 3;66FF00;66FF33 ;33FF00;33CC00; 339900;009900;C CFF99;99FF66;66 C
C00;66CC33;6699 33;336600;99FF0 0;99FF33;99CC66 ;99CC00;99CC33; 669900;CCFF66;C C
FF00;CCFF33;CCC C99;666633;3333 00;CCCC66;CCCC3 3;999966;999933 ;999900;666600; F
FFFFF;CCCCCC;99 9999;666666;333 333;000000;43dd dd;65432b;77766 5;4443cc;CCCCC3 ;
A906B0;9CC33F;C 8C8C8;688888;77 7752;66E554;765 5FF;555577;D4DC E8;99AECE;3A5A8 A
;9A0030;EF3F6B; FFF543;C906CF;A A2222 ";
And true a function i add random colors in the string,
$s_Colors.= ";".strtoupper( $_POST['colorvalue']);
then i make one array:
$a_Colors=array _change_key_cas e(split(";",$s_ Colors), CASE_UPPER);
when i do
sort($a_Colors) ;
print_r($a_Colo rs);
or
asort($a_Colors );
print_r($a_Colo rs);
the values are not correct sorted..!
oke i understand the difference of the hex index so anybody idea??
Cheers,
D
=============== =============== =============== ======
Comment