how to get a value of an autoincrement id after insert in mysql
From: heldopsokken (fietsbelbellen_at_$#@NOSPAM$#@hotmail.com)
Date: 05/31/04
- Next message: Garp: "Re: how to get a value of an autoincrement id after insert in mysql"
- Previous message: Garp: "Re: Interesting Discussion with my PHP Teacher"
- Next in thread: Garp: "Re: how to get a value of an autoincrement id after insert in mysql"
- Reply: Garp: "Re: how to get a value of an autoincrement id after insert in mysql"
- Reply: Chris Hope: "Re: how to get a value of an autoincrement id after insert in mysql"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 31 May 2004 12:59:57 +0200
Hello,
Is there any way to find out the value of the id (wich is autoincrement)
when using the following statements:
$query = "INSERT into rfc values
('','$gebruiker','$omschrijving','$reden','$aanspreekpunt')";
$sql = mysql_query($query) or trigger_error(mysql_error(), E_USER_WARNING);
- Next message: Garp: "Re: how to get a value of an autoincrement id after insert in mysql"
- Previous message: Garp: "Re: Interesting Discussion with my PHP Teacher"
- Next in thread: Garp: "Re: how to get a value of an autoincrement id after insert in mysql"
- Reply: Garp: "Re: how to get a value of an autoincrement id after insert in mysql"
- Reply: Chris Hope: "Re: how to get a value of an autoincrement id after insert in mysql"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|