Re: mysql connectivity...

2004-10-27 Thread Chris Devers
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

Re: mysql connectivity...

2004-10-27 Thread Michael Gargiullo
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... >

Re: mysql connectivity...

2004-10-27 Thread Chris Devers
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

Re: mysql connectivity...

2004-10-27 Thread Michael Gargiullo
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,

Re: mysql connectivity...

2004-10-27 Thread Chris Devers
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 `

mysql connectivity...

2004-10-27 Thread Michael Gargiullo
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. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]