RE: [PHP] MS SQL Problem

2002-09-13 Thread M . A . Bond
?PHP $hostname = LocalServer; ^^ This should be LocalHost (unless you are trying to connect to a server with a DNS alias of LocalServer). Mark -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] MS SQL Problem

2002-09-12 Thread Christopher J. Crane
I am trying to get a script to work to retrieve data from a MS SQL database. I also tried using a ODBC connection, but that didn't work either. Here is the error I get; Warning: MS SQL: Unable to connect to server: LocalServer in C:\WEBS\CTTechCouncil\stocks\mssql.php on line 7

Re: [PHP] MS SQL Problem

2002-06-01 Thread Justin Felker
- Original Message - From: Justin Felker [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: May 31 2002 08:46 AM Subject: [PHP] MS SQL Problem Last night, I ran into a problem when using the MS SQL support in PHP under Apache/PHP module/MS SQL 2000. Everything worked well enough. I

Re: [PHP] MS SQL Problem

2002-06-01 Thread Sqlcoders.com Programming Dept
Felker [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: May 31 2002 11:21 PM Subject: Re: [PHP] MS SQL Problem Thanks for the reply. Actually, I am using both mssql_free_query and mssql_close along with mssql_pconnect. It still happens however. I can post the code if you are unsure. Does

[PHP] MS SQL Problem

2002-05-31 Thread Justin Felker
Last night, I ran into a problem when using the MS SQL support in PHP under Apache/PHP module/MS SQL 2000. Everything worked well enough. I was able to connect to the server, query data, and a number of other things. However, I found that if I ran my test page (it connects to, queries and

Re: [PHP] MS SQL Problem

2002-05-31 Thread Sqlcoders.com Programming Dept
PROTECTED] Sent: May 31 2002 08:46 AM Subject: [PHP] MS SQL Problem Last night, I ran into a problem when using the MS SQL support in PHP under Apache/PHP module/MS SQL 2000. Everything worked well enough. I was able to connect to the server, query data, and a number of other things. However

[PHP] MS SQL problem

2002-04-29 Thread Joshua E Minnie
I am relatively new to the SQL aspect of PHP. I have a small background in SQL programming, so I can get my way around that part. The problem I am having is that a query of mine is throwing back zero (0) rows of result. I am using some simple SQL syntax to check for the existance of a user in

Re: [PHP] MS SQL problem

2002-04-29 Thread David Freeman
On 29 Apr 2002 at 14:14, Joshua E Minnie wrote: if(user_exists($dbname,users,user,$user) 0) { echo the variables to make sure they are what they should be. function user_exists($dbname, $table, $field, $value) { echo the variables to make sure they are what they should be. $query =