View Single Post
Old 10-27-2008, 04:10 PM  
acctman
Confirmed User
 
Join Date: Oct 2003
Location: Atlanta
Posts: 2,840
Dynamic pagination?

does anyone have an example of a dynamic pagination where the page doesn't change but the content does when you select page links.

this code display all user favorite images on one page. just your basic query but the template script handles all the messy stuff behind the scenes
Code:
<!--[Loop Start QUERY:SELECT * FROM $favstable LEFT JOIN $membtable ON m_id=f_fav LEFT JOIN $picstable ON f_fav=i_user WHERE f_user=$en[m_id] AND i_status=2]-->

<a href='<%dir%>view/<%m_user%>.html'>
<img src='<%dir%>images/small/<%f_fav%>-<%i_id%>.jpg' border=1></a>
<a href='<%dir%>view/<%m_user%>.html'>
<%m_user%></a>

<!--[Loop End]-->
so if anyone has a ajax type pagination script i can use please let me know.
acctman is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote