Changing the action on a different form definitely wouldn't break it.
You can use MySQL and MySQLi side by side even on the same page.
I see you have your table in a repeated region... I think you need to move your form tag and hidden elements into the repeated region as well for that to work, so move line 131 down below 132 and move lines 219-221 up above 218.