cyfer65 2 Posted December 18, 2011 Report 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] ..? Quote Link to post Share on other sites
birbal 168 Posted December 18, 2011 Report Share Posted December 18, 2011 Http://php.net/array_fill Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.