Some more help with php arrays

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