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

How to convert this array to string
I am having problems converting this array to a string
using print_r($val[1]); I get:
Code: [

DOMDocument
Hello All,

I need to take an XML document, modify some of the nodes in it and then perform a

Move array index to end
Hey guys,
Quick question:

I have an array that looks like this:
Code: [Select]$var =

Why will this program not run if the variables are not global?
Hey guys I have a kind of perplexing situation that is probably simple, but I can't seem to understa

Bit manipulation program with binary operations
My homework is to create a program to scan in and add binary numbers and print them like so

New to PHP and just trying to understand a little code.
I hope I'm not annoying anyone or breaking the rules but I was wondering about this bit of code righ

DYNPRO_FIELD_CONVERSION
Hi gurus,

I got a dump when I run one of my program. the dump is described below:

mysql query with single quotes in a variable
$sitedetails = "INSERT INTO vars (address, sitename, description, ownername, theme) VALUES ('$u

FPDF Help
I've been playing with the FPDF module. I was building a form and rolling right along and then sudde

login and redirect
hello! can someone help me.. can you give me an idea.. I want to make a login page and redirects it

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