SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Thread: auto_increment

  1. #1
    SitePoint Guru
    Join Date
    Apr 2001
    Location
    BC, Canada
    Posts
    630
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    auto_increment

    Is there a way to get the index number of an entry that was just entered into a table when it is set onto auto_increment. Usualy I have to query the db with a select statement just to find out what he last unique id number was.

    I heard something about a function that automaticly spits it our for u.. is this true?

  2. #2
    Dumb PHP codin' cat
    Join Date
    Aug 2000
    Location
    San Diego, CA
    Posts
    5,460
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Please don't PM me with questions.
    Use the forums, that is what they are here for.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •