Posted by frizzle on 12/17/35 11:53
Rik wrote:
> Chris wrote:
> >> I believe you're looking for mysql_last_insert_id()
> >>
> > Thanks - that makes sense, I'll give it a try. Hard to find all the
> > built-in functions - I had seen mysql_insert_id, but hadn't seen this
> > one.
>
>
> That's because mysql_last_insert_id() is not a PHP function. Frizzle was
> unfortunately on the fritz. mysql_insert_id() it is, which should work
>
> Grtz,
> --
> Rik Wasmus
I assume the result to be equal.
Would mysql_insert_id() still require a DB connection to be open?
Frizzle.
[Back to original message]
|