Hi, Petr, I see Marten had good answers to this. Look at them first!
Here's what I do with the RIX (uses MySQL and DocKimbel's mysql-protocol.r): I use LIMIT in the DB-command, and fetch only, say, the first ten records: LIMIT 10 Bottom of page, I have a "next 10 occurances" link. Click it, and I do LIMIT 10, 10 Which fetches only 10 records, starting at 10. Persistent connections / sessions would be better, but I didn't bother using cookies or figuring out a good way to make session IDs and putting them in the url. Guess this is easier with FastCGI. Was this to any help? HY Dixit Petr Krenzelok (09.45 07.04.2004): >Hi, > >I will soon prepare some part of portal. Let's suppose I get data from >db, I have template system, where I simply put data into table or >whatever xhtml structure. Now what I am not sure about how to do is - >e.g. my table will have 30 rows, db query returns 150 rows, so I need to >introduce some next-page continuation mechanism. Any suggestions? That >is not about search & replace only. xtml template is designed by our gfx >designer, cgi/data part is mine responsibility. We just set yesterday >and our designer asked, what should he put into xhtml template? And now >I am not sure how to do it. Maybe it could use similar aproach as when >you construct gfx based counter? Dunno. Any suggestions, examples? > >Thanks, >-pekr- >-- >To unsubscribe from this list, just send an email to >[EMAIL PROTECTED] with unsubscribe as the subject. Prętera censeo Carthaginem esse delendam -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.