Re: [PHP] Class ADODB - Method GenID() in MySQL

2006-07-19 Thread Renne Rocha
for the replies. -- Renne Rocha [EMAIL PROTECTED] 55 11 8467-9456 On 7/19/06, John Meyer <[EMAIL PROTECTED]> wrote: Wouldn't this: $id = mysql_insert_id(); $query = "UPDATE tablename SET id=" . ($id + 1); $result = mysql_query($query); Be a little simpler. But like I said, I'

[PHP] Class ADODB - Method GenID() in MySQL

2006-07-19 Thread Renne Rocha
;ve used this code in a PostgreSQL project), but in the documentation of ADODB I saw that it is possible to use it. Is there any trick about how to make it work? Thanks. -- Renne Rocha www.inova.unicamp.br [EMAIL PROTECTED] +55 11 8467-9456 -- PHP General Mailing List (http://www.php.net/) To u