Hi All;
I have php/mysql code that fetches info from a mysql table.
I need to implement code that shows only 10 at a time with "Next10" and "Prev10" buttons.
I'm not sure how to implement the php3 part of it. Those buttons would call the same php3 module?
If you can help me with general idea of how to do this, I would appreciate it.

My apologies to all. That script was NOT meant to be production quality but an EXAMPLE for others to learn the logic of setting up that kind of functionality. I didn't make that clear in the article. I wrote it in a hurry on a Sunday morning when I should still have been sleeping, as a result of several posts here and on phpbuilder.com about how to implement prev/next functionality. Perhaps the time has come to rewrite the article....

No. If you used mysql_connect() (or mysql_pconnect() with PHP compiled stand alone) the connection will close when the script ends (the php interpreter process ceases -- nothing to maintain the connection).

If you have PHP compiled as a module and use mysql_pconnect() then the connection will remain open, but subsequent calls to mysql_pconnect() will use the already open connection. Eventually the connection will be terminated but that's nothing you need to worry about.