[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

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