#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2000
    Posts
    2
    Rep Power
    0
    how get the latest sequence value?
  2. #2
  3. Banned (not really)
    Devshed Supreme Being (6500+ posts)

    Join Date
    Dec 1999
    Location
    Brussels, Belgium
    Posts
    14,643
    Rep Power
    4492
    The easiest way to do this is to interogate the kernal with a perl/DBI interface to a Mysql database of the kernel options. Go to user/var/what/are/you/talking/about/ and run the script called i'm_lost.php. Do a core dump and take lines 223,345,132,4353, and 4456. Change all of the W's to X's and save it as a .pdf file. Reboot your computer. Delete Linux and install Windows 2000 repeatedly until your computer locks up for good.

    OR

    Rephrase your question so someone knows what your talking about...

    sarcastic?....me?....no.....

    ---John Holmes...
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 1999
    Posts
    114
    Rep Power
    16
    I'm going to take a wild guess here:
    http://www.php.net/manual/function.mysql-insert-id.php
  6. #4
  7. No Profile Picture
    Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Jul 2000
    Posts
    669
    Rep Power
    15
    I will assume you are talking about the db_sequence table using PHPLIB, in whcihc case you would need to have a sequence name and starting id in the table and from your php you would call $nextid = $db->nextid("sequencename");

Similar Threads

  1. change index sequence
    By Mikkus in forum MySQL Help
    Replies: 2
    Last Post: December 15th, 2003, 10:44 AM
  2. Tabbing sequence within frames, need some advice.
    By linhardt in forum HTML Programming
    Replies: 5
    Last Post: October 18th, 2003, 07:59 PM
  3. Get latest versions or numbers
    By Catharina in forum PHP Development
    Replies: 3
    Last Post: July 15th, 2003, 04:51 AM
  4. Get last two digits on any number sequence
    By ziggyz in forum PHP Development
    Replies: 4
    Last Post: June 27th, 2003, 08:16 PM
  5. Replies: 3
    Last Post: January 29th, 2003, 08:03 PM

IMN logo majestic logo threadwatch logo seochat tools logo