hi my problem is that how can i fetch the values from for each loop for further computation
i want to use every value in the foreach loop for furtyer computation
the form part is here http://bytes.com/topic/php/answers/949615-how-pass-value-different-rows-loop-next-page-php
Code:
<?php
if (isset($_POST['submit'])) {
$data_t1 = $_POST['t1'];
foreach ($data_t1 as $key => $value) {
echo 'T1: ' . $value . '<br />';
echo 'T2: ' . $_POST['t2'][$key] . '<br />';
echo 'T3: ' . $_POST['a1'][$key] . '<br />';
echo 'Username: ' . $_POST['username'][$key] . '<br /><br />';
}
}
?>
the form part is here http://bytes.com/topic/php/answers/949615-how-pass-value-different-rows-loop-next-page-php