![]() |
Am I using previous_row() next_row() correctly here? - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: Am I using previous_row() next_row() correctly here? (/showthread.php?tid=9884) |
Am I using previous_row() next_row() correctly here? - El Forum - 07-11-2008 [eluser]Unknown[/eluser] Hello I am creating a picture gallery and am using the database functions next_row() and previous_row() in order to find id values for my "next picture" and "previous picture" buttons. I just wanted to know if I am using next_row() and previous_row() as they were intended, as there is very little documentation on their use, and no examples of their use. Code: // Get all id's for pictures If I am doing this correctly, PLEASE put an example in the official documentation as it took me hours to figure out how to use next_row() and previous_row() |