RE: [PHP] Connectivity to MS SQL
| From: | Johnson, Kirk | Date: | Mon, 14 May 2001 22:16:35 +0000 |
| Subject: | RE: [PHP] Connectivity to MS SQL | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-52750@lists.php.net to get a copy of this message | ||
AFAIK, just change all the "mysql" function calls to "mssql" function calls,
e.g., mysql_fetch_row() becomes mssql_fetch_row(). If possible, get a nice
DBI that allows you to write your DB code so that you will have fewer
changes to make next time you switch databases.
Kirk
> -----Original Message-----
> From: Andreas Pucko [mailto:andreasp@w3media.com]
> Sent: Monday, May 14, 2001 4:03 PM
> To: Php (E-mail)
> Subject: [PHP] Connectivity to MS SQL
>
>
> Hi there,
>
> I developed an application with a MySQL DB in the backend.
> Now I have to
> change my code to connect to a MS SQL DB. Does anybody know
> how to do that?
> I can't find anything in my PHP Book regarding this topic.
>
> Thanx
>
> Andy
>
> ---------------------------
> Walter Andreas Pucko
> W3 International Media Ltd.
> Tel: (604)871-9899
> Fax: (604)871-1108
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail:
> php-list-admin@lists.php.net
>