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.

Did you know?Explore Trending and Topic pages for more stories like this.
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

import table with dependency
Hi

What is the best way to import table back which has dependency?

SQL> cre

How do I use ValidatorCallout extender in Login control?
Hi,I'd like to customize the look and feel of the login control a little bit. One thing I'd love to

how to get values from $_Post with onchange="form.submit();"?
Hi, I have a form that submit to itself with a file upload field and two other hidden field values.<

mysql VARCHAR acting like INT
Hi, All.

I have a table that contains a varchar(10) column named weird_field. In this column

Renaming a file that a user uploads to site?
My site allows for registered users to upload images to the site under their own gallery. Currently

Where am I going wrong
Been trying to work this out for hours

I have two tables called 'Genres' and 'Films'. Genre

'grab_files', multiple extension?
hey guys,

can anyone suggest a way to make to following line of code look for files with more

Wierd echo error?
Hi, i got the most wierd php error ever and i don't know why..
Code: echo "<t

Sufficient protection from bad input?
I am writing a simple script to let people upload 'pages' of their own content, be it simply a few b

phpMailer will not connect using SMTP
I am trying to use phpMailer with smtp:

Code: [Select]$mailer = new PHPMailer();
$mailer-&

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