AJAX Form - Table Format

Permalink
Hi,

I have a simple AJAX form that I'm using to sign up for a newsletter.
The php file calls the question and input fields into rows and columns using a foreach array. It's a simple 2 x 2 table.
I'd like to put the submit button in a third column rather than it appearing at the bottom of my form.
When place the button in the third column - within the foreach array - i get a submit button on each row! I only want one submit button.
I've played around with the <\tr> and <\td> tags to no avail.

Is there a way to build the table without using the foreach call? Or is there a php if structure that I can use??

Your help appreciated. M