uncleroxk
12-16-2008, 04:47 PM
Hi, I need 3 par to query my database, how do i create a paging system for this query.
Please note that the id is going bigger when going next, smaller when going previous page and the next id might be belong to the same user or album.
Select * from gallery_image where id = '$image_id' and album_id = '$album_id' and profile_id = '$profile_id' Limit 1
Please note that the id is going bigger when going next, smaller when going previous page and the next id might be belong to the same user or album.
Select * from gallery_image where id = '$image_id' and album_id = '$album_id' and profile_id = '$profile_id' Limit 1