Re: [PHP] MS-SQL 2000 weird problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
>

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


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux