store data from input 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";
?>