Hi there,
On submit request that number entered and store into a variable.
Start <table> tag before loop.
Then run a loop from 1 till that number and write
Code:
<tr><td> </td></tr>
that many times. Use as many "<td> </td>"s as needed for those number of preset columns.
End the </Table> tag after loop.
Hope that helps.
Cheers!
_________________________
- Vijay G
Strive for Perfection