[PHP] Re: NEXT() and/or PREV()

2002-10-07 Thread Jef
Here is the code to get the information from the database... $pnSelect = "SELECT lot FROM properties WHERE status = 'Available'"; $pnSql = mysql_query($pnSelect, $db) or DIE("Unable to retrieve LOT data"); $pnFields = mysql_fetch_array($pnSql); If I understand the current() function correctly I

[PHP] Re: NEXT() and/or PREV()

2002-10-07 Thread nicos
sure, get an array with all your filenames, get the current position with $_SERVER['PHP_SELF'] and then use next() or prev(). -- Nicos - CHAILLAN Nicolas [EMAIL PROTECTED] www.WorldAKT.com - Hébergement de sites Internet "Jef" <[EMAIL PROTECTED]> a écrit dans le message de news: [EMAIL PROTECTE