Renne Rocha | 18 Jul 2006 21:27
Picon
Gravatar

Method GenID() with MySQL

  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
rennerocha <at> gmail.com
+55 11 8467-9456

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
Javier Martinez | 27 Jul 2006 12:10
Picon
Gravatar

charset and Oracle

How can I change the charset in a Oracle connection?
I'm connectin to Oracle 10g express edition with dns connection typ and after the connection ( I tried before too) I make "$connection->charSet = "utf-8".
Nothing happens. No error and no change in the charset.
What I'm doing wrong? How can I make this?

Thanks.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
ADodb-general mailing list
ADodb-general <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/adodb-general
Picon

OLE Object

Hi
I have a Microsoft Access Database. It has a field(OLE object) that contains 
pdf files. How can I display it?

Bye.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

Gmane