I am currently using the code shown below; however it isn't uploading the data from the application. If I select the page that the file is hosted on, it would add an empty record into the database. I am being led to think that the problem is with the Posting code. Can anyone help me out with this situation please?
<?php
    $mysqli = new mysqli('','','',''); 
    $query = $mysqli->query("INSERT INTO citizen(cFName, cLName, cStreet, cCity, 
                    cCountry, email, cDob, cGender, cHeight, maritalStatus, 
                    placeOfBirth, idNumber, contactNumber, workNumber) 
                VALUES('$_POST[cFName]', '$_POST[cLName]', '$_POST[cStreet]', '$_POST[cCity]',
                   '$_POST[cCountry]', '$_POST[email]', '$_POST[cDob]', '$_POST[cGender]', 
                   '$_POST[cHeight]', '$_POST[maritalStatus]', '$_POST[placeOfBirth]', 
                   '$_POST[idNumber]', '$_POST[contactNumber]', '$_POST[workNumber]')");
?>
 
    