OK, here is how I interpreted your question. When you insert data into a
table, you want to get back it's newly created ID. All you need to do is,
after inserting the field, select back the id of that field where id is the
max(id) created (assuming you are using auto_incrementing ID field.)
For
Hello,
James Mansfield wrote:
>
> OK...newbie question it must be:
> I want to add an entry into a db tb (using php obviously) and when its added
> into the db its gets a sequencially numberred idnow can I retrieve this
> id numbe rin the same php coded page as what I create the entry with?