Re: how to use odbc???

From: Date: Wed, 31 Jan 2007 10:09:54 +0000
Subject: Re: how to use odbc???
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-27422@lists.php.net to get a copy of this message
On Fri, 26 Jan 2007 11:55:56 +0700, bedul wrote: > can u give me url to have odbc example.. > > or i give the problem.. > > i want to connect to this odbc.. u may click > http://indoupload.net/files/view/803/odbc%20problem.jpg > > how to connect to the odbc and then execute sql. > any question about the problem.. i will gladly answer Dood, I would use ADODB, set the connection string like this (for example) $strConnection = "Driver={Microsoft ODBC for Oracle};Server=OracleServerName;uid=username;pwd=password;" Then follow this example: http://nerds-central.blogspot.com/2006/12/connecting-to-sqlserver-from-php.html But put your odbc connection string in instead of the oledb on in the example. Cheers AJ -- Cubical Land: www.cubicalland.com Nerds-Central: nerds-central.blogspot.com

« previous php.windows (#27422) next »