OK that's probably not relevant here.. So if you just want to "create X number of textboxes for X size of an array" then see below
[attachment=0:s6lm8yx7][/attachment:s6lm8yx7]
Of course you could also have some pre-created text boxes and just move them into place, etc.