I am trying to explain to change little bit of coding technic.
Use Following Technic in your HTML file.
<form>
<input type="text" name="data[name1]" />
</form>
Use following technic at your server side.
<?php
$postData = $_REQUEST['data'];
//you only have to fetch array data so all post data will be get without their name
?>
1
solved Automatic add variables in PHP sent form [closed]