Re: [PHP-DEV] mysql_insert_id problems

2001-02-01 Thread Geoff Jukema

I've read in the docs that some people have had problems with the 
mysql_insert_id() function.  Use the select statement version instead:

SELECT last_insert_id() from mytable;

hth.
Geoff

On Thu, Feb 01, 2001 at 08:39:51PM -0800, Brady J. Horenstein wrote:
> Hello!
> 
> I recently moved my website over to a different hosting company.  The once I
> was on previously was running PHP4beta2 and the new one is running 4.0.1pl1.
> 
> I'm having problems with the mysql_insert_id() func.  Essentially, it isn't
> working.  :)
> 
> Has anyone else had this problem?  It's really wierd, because it was working
> fine on my other account.
> 
> Thanks!
> 
> -brady
> 
> --
> Brady J. Horenstein
> [EMAIL PROTECTED]
> 
> 
> -- 
> PHP Development Mailing List 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
> 

-- 
Geoff Jukema
[EMAIL PROTECTED]www.jukeware.com
[EMAIL PROTECTED]  www.daemonnews.org

-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] mysql_insert_id problems

2001-02-01 Thread Brady J. Horenstein

Hello!

I recently moved my website over to a different hosting company.  The once I
was on previously was running PHP4beta2 and the new one is running 4.0.1pl1.

I'm having problems with the mysql_insert_id() func.  Essentially, it isn't
working.  :)

Has anyone else had this problem?  It's really wierd, because it was working
fine on my other account.

Thanks!

-brady

--
Brady J. Horenstein
[EMAIL PROTECTED]


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]