Microsoft
Software
Hardware
Network
Question : Data insert wizard php/mysql
In my Database I have 2 tables, Movies and links these 2 tables are related. I have a wizard that insert data in to these 2 tables. So in the first step user insert data in to the movies table in other step add links, to add links it needs the movie id which was inserted from the first step. So in the 2nd step what's the best method to retrieve the movie id which was inserted in 1st step?
Answer : Data insert wizard php/mysql
What your looking for is mysql_insert_id($connDatab
ase) or mysqli_insert_id($conDatab
ase). Which ever version you are currently using.
$connDatabase is your existing connection to mysql database
Random Solutions
Perfect assignment operator 1
flashing the bios on an Acer Aspire 3610 laptop
is it possible to link to a page of a different project in asp.net?
Not answered How to call Javascript function when checkbox columns are checked
SQL needs to gets info from Inner Join on two Fields
What new geospatial features are in SQL 2008 R2 but not in SQL 2008
why changes to AD is being undo by other DC
SCOM Configuration Review / Audit Questions
Citrix: unable to load/see printers on Mac
Need to use Log Parser to extract IP and username of all who have accessed OWA in the last month.