php-windows Digest 31 Jan 2007 10:09:29 -0000 Issue 3125

Topics (messages 27422 through 27422):

Re: how to use odbc???
        27422 by: git

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [email protected]


----------------------------------------------------------------------
--- Begin 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

--- End Message ---

Reply via email to