Re: Encoding problem with command line PHP.exe

From: Date: Sun, 14 Jul 2002 05:38:09 +0000
Subject: Re: Encoding problem with command line PHP.exe
Groups: php.general 
Request: Send a blank email to php-general+get-107577@lists.php.net to get a copy of this message
>Hello - My problem is as follows: > <? > $data = mssql_result(mssql_query("SELECT Field FROM table WHERE >ID='1'"),0); > echo $data; > mysql_insert("INSERT INTO table2 VALUES('$data')"); > ?> > >The data in the MSSQL table is: Æã I dunno what those characters are or what's going on, but this code needs some serious error-checking... Perhaps the web version and CGI version are using different php.ini files with different sql_magic_quotes settings... -- Like Music? http://l-i-e.com/artists.htm

« previous php.general (#107577) next »