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" <[EMAIL PROTECTED]>
To: "Martin Greco" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>; "PHP List" <[EMAIL PROTECTED]>
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
>

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to