0

Hey everyone, I wasn't sure if this should go in the php section or this one, so hopefully this is right, if not, move it for me.

I have a form that a user fills out, it posts the information to a MySQL database, and then spits out the information they submitted to the screen, so they can verify it is correct.

I would like to provide a link underneath the information for them to change some of it in case they provided bad info. But I don't know how to get the primary key value yet, because it was just submitted, and I don't have anything to reference it with yet.

The field that is the primary key is called "ID". So how do I get the ID number right after the post, when I don't have anything to reference it to?

2
Contributors
3
Replies
4
Views
10 Years
Discussion Span
Last Post by nathanpacker
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.