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