How to write the site of the article inside the top and stepping

Source: Internet
Author: User
How to write the site of the article inside the top and stepping
To an article how to can add top and step such a function, I hope you can give an example, thanks ... HTML? Top & Tread

Share to:


------Solution--------------------
The table should add 2 fields for top and number of records.
Modify the corresponding value with the update command when clicked
------Solution--------------------
The example is that csdn is useful to me and throws a brick.
------Solution--------------------
Suggest to share with Baidu
------Solution--------------------
jquery. Get or. Post processing the submitted data returns the processing results in front of JS to read the display
------Solution--------------------
Give a very simple example








Top tread
Top tread
Top tread


top_tread.php
 
  /*
Data passed in
$_post[' ID ') was hyped by the ID
$_post[' action '] top, step
$_post[the number displayed on the ' num ' page, do not
You can manipulate the database with these parameters
I'm here just a simple plus 1 return
*/
echo $_post[' num '] + 1;
  • 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.