$idSQL = 'SELECT @@IDENTITY AS lastID'; $stmtID = $conn->prepare($idSQL); $stmtID->execute(); $row = $stmtID->fetch(); echo "Last insert ID is: " . $row["lastID"];
In reply to Re^2: Last Insert ID in MS Access
by Anonymous Monk
in thread Last Insert ID in MS Access
by greyhawk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |