Questions about using iconv to import character truncation in PHP Access database

Source: Internet
Author: User
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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.