I have an array which fetches from mysql, this is the array:
$results[$i] = array('studno' => $row[0], 'name' => $row[1], 'surname' => $row[2], 'cell' => $row[3], 'email' => $row[4], 'course' => $course, 'campus' => $campus, 'img' => $row[7]);
It goes on a results page viewing 5 results at a time, now i want to pass the array back to itself when a person hits next page so they can view say results 5-10, then again for 10-15 etc.
I have seen it mentioned that you can implode the array and assign it to a hidden input variable on the form, and then explode it back into an array. i have tried this but it does not come up with the correct information, just a whole lot of single charactered values for each item.
How would i be able to pass this array ?