cyfer65 Posted December 18, 2011 Share Posted December 18, 2011 Is there an easier way to assign all array row values the same variable without having to specify each array row value like this.. $ARRAY[0] = $AAA;$ARRAY[1] = $AAA;$ARRAY[2] = $AAA; but instead have some way to to just say have a array with 100 rows and all values of each row = $AAAcan something like that be done, or do i have to specify the same value for every row from $ARRAY[0] to $ARRAY[100] ..? Link to comment Share on other sites More sharing options...
birbal Posted December 18, 2011 Share Posted December 18, 2011 Http://php.net/array_fill Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.