Re: how to use odbc???

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux