hello i found this tutorial to creat a hexadecimal colors table using the php
but i don't understund tha they use $couleurs array widthout keys [] that mean the keys by default are from 0 to 6, but they use a var $coulurscellule other keys & it works how ?
<?php
[COLOR="Red"]$couleur=array("00","33","66","99","CC","FF");[/COLOR]
for($rouge=0;$rouge<6;$rouge++)
{
echo "<table>";
for($vert=0;$vert<6;$vert++)
{
echo "<tr>";
for($bleu=0;$bleu<6;$bleu++)
{
[COLOR="Red"]$couleurCellule=$couleur[$rouge].$couleur[$vert].$couleur[$bleu];[/COLOR]
echo "<td width='100' bgcolor='#".$couleurCellule."'>";
echo $couleurCellule;
echo "</td>";
}
echo "</tr>";
}
echo "</table>";
}
?>