On the basis of the addition of pagination and add, how to solve

Source: Internet
Author: User
Add pagination and additions on this basis
PHP Code
  
   
  
   '; Echo ' idname package option add '; while ($row = Mysql_fetch_array ($query)) {echo ". $row [' products_id ']."; Echo '. $row [' Products_name ']. '1234';} Echo ';} ?>

Database directly connected to the need not to write the database link code, the guidance on the basis of the implementation of the search after the display is paged, and the following add function can also add the query to the database.
The added effect is to achieve this
Table Name: Popularity
products_id popularity_id (value in Package option)
97 2
1008 1
40 3


------Solution--------------------
First of all, to download a page class can be achieved.
------Solution--------------------
http://www.baidu.com/s?wd=php+%B7%D6%D2%B3%C0%E0&rsv_bp=0&rsv_spt=3&inputT=5832
  • 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.