From: Renne R. <ren...@gm...> - 2006-07-18 19:27:13
|
Hello, I am using the ADODB class to connect to a MySQL server. I am trying to generate an ID with the method GenID(), but when I tried this: $id = $db->GenID('table'); The value of $id is equal to zero. I know that MySQL doesn't use sequences like PostgreSQL does (I'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 ren...@gm... +55 11 8467-9456 |