I have an array of values stored in variable "do" It's something like this but not exactly
<html>
<input type='text' name='do' id='do'>
<input type='text' name='do' id='do'>
<input type='text' name='do' id='do'>
<input type='text' name='do' id='do'>
<input type='text' name='do' id='do'>
</html>
and I print it all with the use of [print_r] then it gives a result
<?php
print_r($_POST['do']);
//and i try this also
foreach($_POST as $key => $val){
echo $key . ' : ' . htmlentities($val,ENT_QUOTES) . "<br>\n";?>
}
[do=1&do=2&do=3]
how could I modify or just print the values like this:
1
2
3