|
Posted by frizzle on 11/19/79 11:53
Jerry Stuckle wrote:
> frizzle wrote:
> > 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.
> >
>
> Yes, it's a MySQL call.
>
> --
> ==================
> Remove the "x" from my email address
> Jerry Stuckle
> JDS Computer Training Corp.
> jstucklex@attglobal.net
> ==================
So you'd have to run another extra call to the database, instead of
getting it from cache ?
Wouldn't that make it slower?
Not quite getting this, but liked to know how it works ...
Frizzle
Navigation:
[Reply to this message]
|