Autonumber - how do i find out what has been entered
Posted by:
freddie
Date: May 17, 2005 03:47AM
$query1 = "insert into meetings values
('','".$_POST['StockCode']."','".$_POST['date']."','Notes',')";
$result = mysql_db_query("stocklist", $query1);
This code entres data from my form into my database. I then have to enter a few related records in the table 'attendees', for which i will need the meeting number.
Column 1 of the meetings table is the autonumber field and is filled in automatically as you would expect, I just don't know how to retrieve it.
Any suggestions???
Subject
Written By
Posted
Autonumber - how do i find out what has been entered
May 17, 2005 03:47AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.