php-general Digest 24 Nov 2013 20:39:26 -0000 Issue 8435

Topics (messages 322493 through 322495):

Re: DSN for MS SQL Server Express 2005
        322493 by: marco.behnke.biz
        322494 by: Tomás Corrales Lemoine

PHP tutorial
        322495 by: Martin Christian

Administrivia:

To subscribe to the digest, e-mail:
        php-general-digest-subscr...@lists.php.net

To unsubscribe from the digest, e-mail:
        php-general-digest-unsubscr...@lists.php.net

To post to the list, e-mail:
        php-gene...@lists.php.net


----------------------------------------------------------------------
--- Begin Message ---
Have you tried this

http://php.net/manual/de/ref.pdo-dblib.php#66917

> Tomás Corrales Lemoine <to...@hog.ecasa.avianet.cu> hat am 23. November 2013
> um 21:21 geschrieben:
>
>
> Greetings all,
>
> Please, I'm trying to connect to a MS SQL Server Express 2005 using PDO for
> ODBC, but I need the DSN string. I tried with:
>
> $dsn = 'odbc:DRIVER={SQL
> Server};HOSTNAME=CCTPV608\SQLEXPRESS;DATABASE=db_ibripos';
>
> but it doesn't work.
>
> Thanks!!!
>
> Tomas
>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>

--
Marco Behnke
Dipl. Informatiker (FH), SAE Audio Engineer Diploma
Zend Certified Engineer PHP 5.3

Tel.: 0174 / 9722336
e-Mail: ma...@behnke.biz

Softwaretechnik Behnke
Heinrich-Heine-Str. 7D
21218 Seevetal

http://www.behnke.biz

--- End Message ---
--- Begin Message ---
Thanks, Marco. I found it:

$dsn = 'odbc:Driver=SQL Server;Server= CCTPV608\SQLEXPRESS;Database=db_ibripos';

Tomas


-----Mensaje original-----
De: ma...@behnke.biz [mailto:ma...@behnke.biz] 
Enviado el: Sábado, 23 de Noviembre de 2013 5:36 pm
Para: php-gene...@lists.php.net; Tomás Corrales Lemoine
Asunto: Re: [PHP] DSN for MS SQL Server Express 2005

Have you tried this

http://php.net/manual/de/ref.pdo-dblib.php#66917

> Tomás Corrales Lemoine <to...@hog.ecasa.avianet.cu> hat am 23. 
> November 2013 um 21:21 geschrieben:
>
>
> Greetings all,
>
> Please, I'm trying to connect to a MS SQL Server Express 2005 using 
> PDO for ODBC, but I need the DSN string. I tried with:
>
> $dsn = 'odbc:DRIVER={SQL
> Server};HOSTNAME=CCTPV608\SQLEXPRESS;DATABASE=db_ibripos';
>
> but it doesn't work.
>
> Thanks!!!
>
> Tomas
>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: 
> http://www.php.net/unsub.php
>

--
Marco Behnke
Dipl. Informatiker (FH), SAE Audio Engineer Diploma Zend Certified Engineer PHP 
5.3

Tel.: 0174 / 9722336
e-Mail: ma...@behnke.biz

Softwaretechnik Behnke
Heinrich-Heine-Str. 7D
21218 Seevetal

http://www.behnke.biz

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



--- End Message ---
--- Begin Message ---
Hi,

I've written a PHP DB/Template tutorial at:

http://christianix.de/php-tutor/index.html

I hope it will be useful to someone.

Regards,

Martin

--- End Message ---

Reply via email to