Get ID from Database when Posting with a HTML Form


Posted on 16th Feb 2014 07:03 pm by admin

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

Posted on 28th Aug, 2024
WayneAbson
????? ?????? ??????? ???? fashion.
?????? ??????? ??????? ????????.
?????? ????, ??????, ??????? ????.
?????????? ????? ??? ????????? ??????????.
https://emurmansk.ru/pub/2024-04-17-pozhar-na-murmanskom-shosse-vozle-kudrovo/
https://kazan.rftimes.ru/news/2024-06-03-v-aeroportu-kazani-vveli-ogranicheniya
https://ekaterinburg.rftimes.ru/news/2024-04-09-rok-gruppa-piknik-vozobnovit-gastrolnyy-tur
https://kazan.rftimes.ru/news/2024-06-03-v-aeroportu-kazani-vveli-ogranicheniya
https://ekbtoday.ru/news/2024-02-04-proverka-v-elitnoy-gimnazii-5-ekaterinburga/

Your Answer:

Login to answer
77 Like 41 Dislike
Previous forums Next forums
Other forums

Warning: session_start() [function.session-start]: Cann.....
hi, can someone help me with this? I keep getting this error....

Warning: session_start() [fu

single values into sql field
i have a form which i want the user to able to select multiple answers. But i want the answers to be

How a counter of users ? such as ---> (231 Viewing)
I want to count how many users are actually viewing the page, How is that possible?
Thank you guy

Adding meta tags under Zend FW
Hello there, recently has come to my hands the FTP of a website which is running under Zend, I would

PHP Include not working
The website is http://www.grlistingservices.com

The code block is as follows:

<

add text and number image
hi guys ..

ok see i want the user to add their name and pick a number then click get it and i

Nested (echoed) php running wrong script
Got a problem with a php website I'm creating.

In a nutshell, the first page is entirely html

problem in program for counting no of chars using pointers
Hi all, I was trying to make a program which counts number of chars in a string using concpt of poin

passing an array of objects after submit
How do I do this? This is what I have tried and it is not working.

<form method="

PHP/PKI
I am trying to set up a web application that uses pki. does anyone have a good tutorial to set this

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash