ofi Posted January 30, 2007 Share Posted January 30, 2007 HiI am not sure what pagination i can use with this, http://www.koddinn.com/myndir/album/born/see the gallery, i want add in pagination code so it will show 20 images per page, i am using wordpress and this photo album is plugin with wordpress, do i have to connect to mysql of wordpress to get this to work ? Link to comment https://forums.phpfreaks.com/topic/36314-pagination/ Share on other sites More sharing options...
ted_chou12 Posted January 30, 2007 Share Posted January 30, 2007 if you are using mysql db, then you can use the LIMIT property of mysql query and then use something like test.php?page=1 so that you fetch 20 rows from mysql each time.Ted Link to comment https://forums.phpfreaks.com/topic/36314-pagination/#findComment-172657 Share on other sites More sharing options...
ted_chou12 Posted January 30, 2007 Share Posted January 30, 2007 This is the previous script I obtained:http://www.phpfreaks.com/forums/index.php/topic,120064.msg492280.html#msg492280see if it helps you Link to comment https://forums.phpfreaks.com/topic/36314-pagination/#findComment-172660 Share on other sites More sharing options...
ofi Posted January 30, 2007 Author Share Posted January 30, 2007 ok, gonna try this, where does this go, on index or plugins, not surei made test file and get thisTable 'koddncom_wordpress.tablename' doesn't exist Link to comment https://forums.phpfreaks.com/topic/36314-pagination/#findComment-172678 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.