spewn
Programmer
- May 7, 2001
- 1,034
i'm using this to create a new row in my database:
it automatically increments the primary key, the first value, and i need to find out the value, (number) of that key...how is this possible?
- g
Code:
$sth2 = $dbh->prepare("INSERT INTO emailgroup1 VALUES(0,'$userFirstName','$userLastName','$userEmail','','','','','','')");
$sth2->execute;
it automatically increments the primary key, the first value, and i need to find out the value, (number) of that key...how is this possible?
- g