[PHP-DB] Question on PHP connect MS SQL 2005

2008-06-11 Thread Wei, Alice J.
Hi, I have just installed the Apache on a Linux machine, and tried to run the script that contains a // connection to the database $dbhandle= mssql_connect($myServer, $myUser, $myPass) or die(Couldn't connect to SQL Server on $myServer); When I try to run the PHP script, it gives me

Re: [PHP-DB] Question on PHP connect MS SQL 2005

2008-06-11 Thread Dan Shirah
Alice, In regards to: Call to undefined function mssql_connect() in /home/TDC/Desktop/create_new_entry_master.php on line 20 Do you have the MSSQL extension uncommented in your PHP.ini? Dan

RE: [PHP-DB] Question on PHP connect MS SQL 2005

2008-06-11 Thread Wei, Alice J.
Hi, This may sound really stupid, but I installed Fedora and checked on the box for web development to allow PHP and other web scripts on the platform. Therefore, I could run PHP scripts fine, and the mentioning of this file, would you be able to offer me suggestions on where it might be?

RE: [PHP-DB] Question on PHP connect MS SQL 2005

2008-06-11 Thread Wei, Alice J.
Hi, Dan: Thanks for the information, and my PHP has been installed, and I have commented out everything from the PHP ini regarding to MS SQL connections. However, I am still having issues with seeing the same error as I have in the previous email. Are there other things I have to try?

Re: [PHP-DB] Question on PHP connect MS SQL 2005

2008-06-11 Thread Ken Keefe
I know the package you need is called php-sybase in ubuntu. It's probably something similar in Fedora. Know that this package will only let you do a subset of the mssql function calls. If you are just connecting and doing a normal query, it will suffice. If you need to do prepared statements for