>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
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php