On Wed, 27 Oct 2004, Michael Gargiullo wrote:
> On Wed, 2004-10-27 at 16:16, Chris Devers wrote:
> >
> > You did look it up, right?
> >
> > I deliberately gave only part of the string you need to use...
> >
>
> Yup... $id=$dbh->{'mysql_insertid'}; Worked like a charm.
Good -- now you know
On Wed, 2004-10-27 at 16:16, Chris Devers wrote:
> On Wed, 27 Oct 2004, Michael Gargiullo wrote:
>
> > On Wed, 2004-10-27 at 15:42, Chris Devers wrote:
> > >
> > > (Hint -- search in the perldoc for 'insertid'.)
> >
> > Thanks Chris,
> >
> > I was using the PHP function instead of perl's...
>
On Wed, 27 Oct 2004, Michael Gargiullo wrote:
> On Wed, 2004-10-27 at 15:42, Chris Devers wrote:
> >
> > (Hint -- search in the perldoc for 'insertid'.)
>
> Thanks Chris,
>
> I was using the PHP function instead of perl's...
You did look it up, right?
I deliberately gave only part of the st
On Wed, 2004-10-27 at 15:42, Chris Devers wrote:
> On Wed, 27 Oct 2004, Michael Gargiullo wrote:
>
> > I have a table like so:
> >
> > id -> auto increment
> > name -> name
> >
> > After I insert a new name
> > insert into mytable values('','Bob');
> >
> > I need Bob's id returned.
>
> Hey,
On Wed, 27 Oct 2004, Michael Gargiullo wrote:
> I have a table like so:
>
> id -> auto increment
> name -> name
>
> After I insert a new name
> insert into mytable values('','Bob');
>
> I need Bob's id returned.
Hey, wait -- you could write a program to do that, couldn't you!
And reading `