get data from form and save it in array php code example
Example 1: how to save array of inputs in php
<?php
echo "<textarea name='mydata'>\n";
echo htmlspecialchars($data)."\n";
echo "</textarea>";
?>
Example 2: how to save array of inputs in php
<?php
echo '<input type="hidden" value="' . htmlspecialchars($data) . '" />'."\n";
?>