Toggle navigation
Dashboard
Dashboard Tracker
Add / Edit My Forums
System Announcements
Discussion
Active Thread Feed
Top Threads Today
Top Threads This Week
Top Threads Library
Go!
View All
View All
Login
Logout
Home
Forums Index
Server Side
/
PHP Server Side Scripting
7:31 am May 2, 2026
This page requires javascript.
Forum Moderators:
coopster
Message Too Old, No Replies
last inserted
bleak26
Msg#:1266711
4:16 pm on Jan 4, 2006
(gmt 0)
Hi ,this one has been in the back of my mind for ages.
Is there a method to retrive , say the autoincremented value of field of a record, as you insert the record into your mysql database.
thanks guys and girl.
dreamcatcher
Msg#:1266712
4:31 pm on Jan 4, 2006
(gmt 0)
mysql_insert_id()
[
uk2.php.net
...]
dc
coopster
Msg#:1266713
4:32 pm on Jan 4, 2006
(gmt 0)
Not as you enter it in, but right after that you can retrieve the value with
LAST_INSERT_ID()
[dev.mysql.com].
thanks dc ;-)
Join The Conversation
Register
For Free! -
Become a
Pro Member
!
See forum categories
-
Enter the Forum
Moderators and Top Contributors
Moderator List
| Top Contributors:
This Week
,
This Month
,
Apr
,
Mar
,
Archive
,
Top 100 All Time
,
Top Voted Members
Hot Threads This Week
April 2026 Google Search Observations
AdSense Earnings and Observations - April 2026
what do they want?
Hello again, it's been a while
I need some SEO help
SEO question
Do you get tired of others copying your content?
5 SEO Tips That Actually Worked for My Blog in 2026
Home
Forums Index
Server Side
/
PHP Server Side Scripting
7:31 am May 2, 2026