Re: [PHP] getting auto-incrementing fields

2001-07-12 Thread Pavel Jartsev
Brad Wright wrote: > > Hi all, > I have a situation where I am adding a new row to a (mySQL) table. One of > the fields in table is auto-incrementing. When I add a new row, I would like > to return the value of the auto-incrementing field (named 'Number') as > $Number for the new row. > > Can a

[PHP] getting auto-incrementing fields

2001-07-12 Thread Brad Wright
Hi all, I have a situation where I am adding a new row to a (mySQL) table. One of the fields in table is auto-incrementing. When I add a new row, I would like to return the value of the auto-incrementing field (named 'Number') as $Number for the new row. Can anyone help?? Thanks in advance, Bra