php - Why is this array key being set to zero? - Stack Overflow

Posted by Unknown on Saturday, January 4, 2014

function getMonths() { $data[] = array('key' => 01, 'name' => 'January'); $data[] ... You need to put them in quotes. '08' , '09' , etc. Otherwise PHP thinks ...

more

{ 0 comments... » php - Why is this array key being set to zero? - Stack Overflow read them below or add one }

Post a Comment

Popular Posts