Feeling a bit like Superman - I now would like to add 'previous' and 'next' links from the original query record_set in my little pop-up so the end user can scroll thru the results on my detail page (in the popup)
I was thinking that if I simply passed the entire record_set array using the same link i used to get the detail page, then I could just use the record_id to find my place in the array, and then generate the relative the next & prev links from there.
So I guess my question is;
If my code looks something like this....
$record_set=@mysql_query("SELECT RecordID,Name from MyTable WHERE blah blah blah.. ");
while($row = mysql_fetch_array($record_set)) {
$recordID= $row[0];
$Name= $row[1];
(some cool table layout stuff)
<a href="detailpage.php?recordID=$recordID&record_set=$record_set">$Name</a>
}
why wont it work?
I think i've figured out that I can't pass array values this way. But if not this way , How?