I build a form using Pear's Quickform and using a dynamic list of fields from a database as part of the form.

The builds out as something like:
<input size="10" maxlength="10" name="fieldNum_1" type="text" />
<input size="10" maxlength="10" name="fieldNum_2" type="text" />

where 1, 2,... are ID numbers for the database and I need those.

How can I get only those fields in an array?

Thanks in advance!