Re: MS-SQL 2000 weird problem
| From: | Martin Greco | Date: | Tue, 16 Sep 2003 13:44:56 +0000 |
| Subject: | Re: MS-SQL 2000 weird problem | ||
| References: | 1 2 | Groups: | php.db php.general |
| Request: | Send a blank email to php-general+get-162749@lists.php.net to get a copy of this message | ||
Solved the problem
I changed the locales.conf file from freetds/etc
I had spanish, i changed to us_english.
I would like to use it in spanish cause when you use some spanish characters
the application crashes.
I don't know any other way to do it.
[default]
date format = %b %d %Y %I:%M%p
[en_US]
date format = %b %d %Y %I:%M%p
language = us_english
char set = iso_1
[es_ES]
date format = %b %d %Y %I:%M%p
language = us_english << changed
char set = iso_1
----- Original Message -----
From: "Dan Anderson" <dan@mathjunkies.com>
To: "Martin Greco" <mgreco@solsis.com.ar>
Cc: <php-db@lists.php.net>; "PHP List" <php-general@lists.php.net>
Sent: Monday, September 15, 2003 6:42 PM
Subject: Re: [PHP] MS-SQL 2000 weird problem
> > Any thoughts?
>
> Are you dying and outputting an error where something could happen to
> bodge up the server?
>
> I'm not familiar with MS SQL Server, but I know under mysql:
>
> <?php
>
> $link = mysql_connect($host,$username,$password) or die("");
> // I forget the next line off the top of my head
> /* returns null if $link didn't work and we didn't die */
> $result = mysql_query("SELECT * FROM table");
>
> ?>
>
> -Dan
>