Hello friends🙂
I have an array below that looks like this....
Array ( [1] => 20001 [2] => 20012 [3] => 20013 [4] => 20040 [5] => 20041 [6] => 20049 [7] => 20076 [8] => 20079 [9] => 20091 [10] => )
How can I step through this array using normal push buttons?? I understand there are php functions next(),prev()???
$array = array();
for ($i = 1; $row = mysql_fetch_array($getresult); $i++) {
$array[$i] = $row['orderid'];
}
?>
Record: <input type="button" value="Reset" class="normal" name="reset">
<input type="button" value="Prev" class="normal" name="prev">
<input type="button" value="Next" class="normal" name="next">
<input type="button" value="Last" class="normal" name="last">