Listen to the predecessors... listen to the predecessors said to add header (& quot; Content-type: texthtml; charsetutf-8 & quot;); this, I added or garbled Oh, & nbsp; for these two php pages, there are two pages in the paging class .. Business_form.php & lt ;? Phpheader (& quot; Content-type: te to listen to the predecessors...
Listen to the predecessors and add
Header ("Content-type: text/html; charset = utf-8 ");
Well, I am still garbled,
For these two php pages, there are two pages in the paging class ..
Business_form.php
Header ("Content-type: text/html; charset = utf-8 ");
Include 'comm. php ';
If (isset ($ _ POST ['QQ']) {
$ Qq =$ _ POST ['QQ'];
$ Selling_price = $ _ POST ['selling _ price'];
$ Original = $ _ POST ['original'];
$ Expires = $ _ POST ['expires'];
Business_table.php
Include 'Paging. php ';
$ Con = mysql_connect ("localhost", "root", "123456 ");
Mysql_select_db ("business", $ con );
$ Result = mysql_paging_query ("SELECT * FROM business_table", 5 );
Echo"
| QQ |
Price |
Original price |
Expiration Time |
Service |
";While ($ row = mysql_fetch_array ($ result )){Echo"
";Echo"
| ". $ Row ['QQ']." | ";Echo"
". $ Row ['selling _ price']." | ";Echo"
". $ Row ['original']." | ";Echo"
". $ Row ['expires']." | ";Echo"
". $ Row ['Diamond ']." | ";Echo"
";}Echo"
";
Mysql_paging_bar (); //
Mysql_close ($ con );
?>
------ Solution --------------------
The business_table.php page lacks the set names 'utf8' statement.