Let's see why it cannot be transferred

Source: Internet
Author: User
Why can't I go to $ sqlselect * fromtb_orderwhereorderusernc $ uncorderbyiddesclimit $ kaishi, $ pagesize; get the records starting from the calculated initial values. A total of $ pagesize items $ resultmysql_query ($ SQL ); get the result while ($ rowmysql_fetch_array ($ result) {echotr

Help me see why I cannot go to $ SQL = "select * fromtb_orderwhereorderusernc = '$ unc' orderbyiddesclimit $ kaishi, $ pagesize"; // retrieve records starting from the calculated initial value, total $ pagesize items $ result = mysql_query ($ SQL); // get the result while ($ row = mysql_fetch_array ($ result) {echo "tr \

Why can't I go
$ SQL = "select * from tb_order where orderusernc = '$ unc 'order by id desc limit $ kaishi, $ pagesize"; // retrieve records starting from the calculated initial value, total $ pagesize entries
$ Result = mysql_query ($ SQL); // obtain the result
While ($ row = mysql_fetch_array ($ result ))
{
Echo"\ N ";
Echo"

". $ Row ['orderno']."

";
Echo"

". $ Row ['orderusernc ']."

";
Echo"

". $ Row ['username']."

";
Echo"

". $ Row ['address']."

";
Echo"

". $ Row ['yb']."

";
Echo"

". $ Row ['tel']."

";
Echo"

". $ [This article from Internet (http://www.68idc.cn)] row ['TT']."

";
Echo"

". $ Row ['goodsprice ']."

";
Echo"

". $ Row ['rectype ']."

";
Echo"

". $ Row ['paytype']."

";
Echo"

". $ Row ['addtime']."

";
Echo"

Payment

";
Echo"\ N ";
}
Point payment is still on this page
------ Solution ----------------------
Echo"

Payment

";

Leave this sentence for reference. It is estimated that your previous echo html has a problem. The single and double leads conflict.

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.