Re: [PHP] Encoding problem with command line PHP.exe

2002-07-12 Thread Analysis & Solutions
Emile: On Fri, Jul 12, 2002 at 09:58:53PM +0100, Emile Axelrad wrote: > $data = mssql_result(mssql_query("SELECT Field FROM table WHERE > ID='1'"),0); > mysql_insert("INSERT INTO table2 VALUES('$data')"); Ouch. First, you're mixing and matching mssql and mysql functions. Seco

[PHP] Encoding problem with command line PHP.exe

2002-07-12 Thread Emile Axelrad
Hello - My problem is as follows: The data in the MSSQL table is: Æã IF I call this PHP code from my browser (IE6) it results in the following output: Æã and it also places into the MySQL database the value: Æã However, if I call this PHP code from the command line, using "php.exe tes

[PHP] Encoding problem with command line PHP.exe

2002-07-12 Thread Emile Axelrad
Hello - My problem is as follows: The data in the MSSQL table is: Æã IF I call this PHP code from my browser (IE6) it results in the following output: Æã and it also places into the MySQL database the value: Æã However, if I call this PHP code from the command line, using "php.exe tes