comport9
11-20-2012, 11:09 PM
I'm somewhat familiar with python, and so am still getting by barrings with PHP.
I have an array with named keys. Each key's value is a list of items. How do I add items to the value?
Array
"Cars" => "1, 12, 22";
"Trucks" => "3, 5, 18, 9";
"Vans" => "5";
Say I want to add "17" to "Cars", how would I do that?
Thanks!
I have an array with named keys. Each key's value is a list of items. How do I add items to the value?
Array
"Cars" => "1, 12, 22";
"Trucks" => "3, 5, 18, 9";
"Vans" => "5";
Say I want to add "17" to "Cars", how would I do that?
Thanks!