how to use two forms and sumit once

Posted by Mac Taylor on Stack Overflow See other posts from Stack Overflow or by Mac Taylor
Published on 2010-04-27T09:18:59Z Indexed on 2010/04/27 9:23 UTC
Read the original article Hit count: 434

Filed under:
|
|

hey guys

is it possible to have two forms with two submit buttons but when i click on the button then it saves both forms input fields

im concerning to solve this in php /mysql

i tried my own way :

if ((isset($_POST["form-1"])) && (isset($_POST["form-2"])) {
//SQL Insertion 
}

thanks in advance

© Stack Overflow or respective owner

Related posts about php

Related posts about mysql