request server variable "submit" to check if it is not null then 
access posted data and write code for database.

if($_REQUEST['Submit']!="") 
{
        $name                   = $_REQUEST['name'];
        $nationality    = $_REQUEST['nationality'];
        $address                = $_REQUEST['address1'];
        $gender                 = $_REQUEST['gender'];

//Insert Query will come here
}

Reply via email to