how to use odbc???

how to use odbc???

am 26.01.2007 05:55:56 von bedul

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

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

Re: how to use odbc???

am 31.01.2007 11:09:54 von git

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-sqls erver-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