I want to make a form input with dynamic Name Label and Value, there are two arrays, how to make it loop in single foreach ?
This is an example:
<?php
$value = explode(',',$row['value']);
$name = explode(',',$row['name']);
for($x = 0; $x <= 10; $x++) {
echo $name;
echo $value;
}
?>
$row Variable is an Array, This method didn't work for me. Any suggestions?