ylkien Posted December 7, 2006 Share Posted December 7, 2006 hi guys,I am trying to create a double array. While inserting the values into the array, it doesn't increment properly.For example :$Array1[][] = 1;$Array1[][] = 2;//Output will be $Array1[0][0] = 1, [b]$Array1[1][0] = 2[/b]How do i configure it, so that it will increment the second array, so the output will be "[b]$Array1[0][1] = 2[/b]" ?Thanks! Link to comment https://forums.phpfreaks.com/topic/29779-multidimensional-array/ Share on other sites More sharing options...
artacus Posted December 7, 2006 Share Posted December 7, 2006 You can't do $Array1[0][] = 1 ? Link to comment https://forums.phpfreaks.com/topic/29779-multidimensional-array/#findComment-136748 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.