Jump to content

Get ID from Database when Posting with a HTML Form


Sethm

Recommended Posts

I have a form I am submitting to a MySql database. Each product has an ID # attached to it that auto_increment.

 

I need to pull the auto incremented ID # for the entry I just posted onto the page so the person who added it can "Edit" the entry.

 

How do I get that selected? I want to pull it from the database after it is inserted and make it into a hyper link, but only for 1 entry..I can't get it figured out...

 

If anyone can help it would be greatly appreciated!

Thanks,

Seth

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.