RE: [PHP] question about using sql server with php

2008-10-27 Thread bruce
. have fun! -Original Message- From: Sudhakar [mailto:[EMAIL PROTECTED] Sent: Sunday, October 26, 2008 8:49 PM To: php-general@lists.php.net Subject: [PHP] question about using sql server with php i have a question about how to use sql database with php instead of using my sql database when

Re: [PHP] question about using sql server with php

2008-10-27 Thread Robbert van Andel
, October 26, 2008 8:49 PM To: php-general@lists.php.net Subject: [PHP] question about using sql server with php i have a question about how to use sql database with php instead of using my sql database when i use my sql database the php code to connect to the my sql database is = $conn

Re: [PHP] question about using sql server with php

2008-10-27 Thread Ashley Sheridan
! -Original Message- From: Sudhakar [mailto:[EMAIL PROTECTED] Sent: Sunday, October 26, 2008 8:49 PM To: php-general@lists.php.net Subject: [PHP] question about using sql server with php i have a question about how to use sql database with php instead of using my sql database

Re: [PHP] question about using sql server with php

2008-10-27 Thread Chris
Robbert van Andel wrote: You also need to make sure that your server has the mysql drivers installed. A linux server does not come with this support natively. He's not using mysql, he's using sql server. -- Postgresql php tutorials http://www.designmagick.com/ -- PHP General Mailing List

Re: [PHP] question about using sql server with php

2008-10-27 Thread Robbert van Andel
on the net, as well as in the php.net website. have fun! -Original Message- From: Sudhakar [mailto:[EMAIL PROTECTED] Sent: Sunday, October 26, 2008 8:49 PM To: php-general@lists.php.net Subject: [PHP] question about using sql server with php i have

Re: [PHP] question about using sql server with php

2008-10-27 Thread Robbert van Andel
Sorry, that was a typo. I meant MSSQL. On Mon, Oct 27, 2008 at 2:12 PM, Chris [EMAIL PROTECTED] wrote: Robbert van Andel wrote: You also need to make sure that your server has the mysql drivers installed. A linux server does not come with this support natively. He's not using mysql,

[PHP] question about using sql server with php

2008-10-26 Thread Sudhakar
i have a question about how to use sql database with php instead of using my sql database when i use my sql database the php code to connect to the my sql database is = $conn = mysql_connect($hostname, $user, $password); if(!$conn) { echo Unable to connect to Database; } else {

Re: [PHP] question about using sql server with php

2008-10-26 Thread Chris
if i have to connect to a sql databse instead of my sql database as some companies use sql database, how can i change the php code to connect, run a query and close connection to the sql database. apart from changing the code to connect to sql database is there something else i need to do.