Re: How to use SQLServer in PHP?
| From: | Nguyen Le Vinh | Date: | Fri, 03 Jan 2003 19:09:35 +0000 |
| Subject: | Re: How to use SQLServer in PHP? | ||
| References: | 1 2 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-17633@lists.php.net to get a copy of this message | ||
Thanks Radovan,
My page is OK.
"Radovan Radic" <rasho@ving.co.yu> wrote in message
news:20030103112955.77445.qmail@pb1.pair.com...
> You have to load php_mssql.dll extension.
> Then in php
>
> $dbhost="myDBHost"; // or IP address of the server
> $dbusername="username";
> $dbpassword="password";
> $dbname="MyDatabase";
>
> $connection=mssql_pconnect($dbhost,$dbusername,$dbpassword);
> mssql_select_db($dbname);
>
> HTH,
> Radovan
>
> "Nguyen Le Vinh" <vinhnl@hn.vnn.vn> wrote in message
> news:20030101123602.12966.qmail@pb1.pair.com...
> > Hi all,
> >
> > I want to program some PHP pages in WinXP but I can't connect to
> SQLServer.
> > Can you help me?
> >
> > VINHNL, vinhnl@hn.vnn.vn
> >
> >
>
>