Questions about using iconv to import character truncation in the Access database in PHP 1. using iconv to import character truncation & lt ;? Phpheader (content-type: texthtml; charsetutf-8); include & nbsp; conn. php; & nbsp; $ queryodbc_do ($ conn, select & nbsp; top & nbsp; 10 & nbsp PHP questions about using iconv to import character truncation in Access Database
1. use iconv to import the character truncation
Header ("content-type: text/html; charset = utf-8 ");
Include 'Conn. php ';
$ Query = odbc_do ($ conn, "select top 10 id, biaoti from news ");
// $ Num = 0;
While (odbc_fetch_row ($ query )){
?>
">
Echo"
";
}
?>
------ Solution --------------------
Yes. an error is returned if the insert duration is too long!
I don't know how you inserted it.
Even if biaoti only reads data at 50, leading to garbled tail
But it should not affect the reading of neirong. The fact is that when biaoti is too long, neirong cannot read