I have a simple PHP array inside an array which looks like this:
$defaults = array( "color" => "White", array( "color" => "0000CC", ) )
The problem becomes when I want to call the second color item--since they are both named the same, I can't figure out how to access the SECOND color item on the command line. This command line code below doesn't work because it only gets the FIRST color item in the first array.
php /Users/me/temp/the_Script/create.php --color='0000CC'
How do I access that SECOND color item in the second array on the command line? Can I even grab both of them in the same command line arguments?
Thanks!