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

session variables not working anymore
hello,
i use sessions to handle authentication within my site. my host has been changing a lot of

Help If user voted, block them
On my Prayer request site, i let users Click a button to Pray for somone that has posted a pray, i g

Need help with an email blocker for a guessbook
I am new with php and here is a simple guessbook page but I am being hit with spam from a group of t

Form help: Syntax & Logic
Hello again all,

I'm working on a form and ran into a wall (again) and can't seem to think th

Error in write byte array into document in SM58
Hi Gurus,

Getting the following error status in Transactional RFC (SM58) ..... *Error i

Xacute search within SQL results
I have a query that is pulling data, and I want to return a specific value from the results of that

Image DPI
Hi.

I allow users to upload images, the user then is able to adjust several settings for the

Alternate messaging
I have 4 strings in MySQL db1

$string1 : Hello
$string2 : Hi
$string3 : Great
$strin

PHP & Java
Hello,

can PHP code be used inside java code?

Code: <SCRIPT LANGUAGE="Java

Why is my row count 0?
Here's the MySQL query i'm running. It basically pulls data from 2 tables based on some data passed.

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