# Some more help with php arrays

**URL:** <https://forum.kirupa.com/t/some-more-help-with-php-arrays/278682>\
**Category:** Uncategorized\
**Created:** [January 3, 2009, 4:52pm UTC](https://forum.kirupa.com/t/some-more-help-with-php-arrays/278682 "2009-01-03T16:52:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![philsbury](https://avatars.discourse-cdn.com/v4/letter/p/e9a140/32.png) [@philsbury](https://forum.kirupa.com/u/philsbury)\
**Post date:** [January 3, 2009, 4:52pm UTC](https://forum.kirupa.com/t/some-more-help-with-php-arrays/278682/1 "2009-01-03T16:52:07Z")

</div>

Hi,

Is it possible to create an array up to a maximum number?

For example if you only have a value of 12, is it possible to look at that number and create an array of: Array(1,2,3,4,5,6,7,8,9,10,11,12)?

Cheers  
Phil
