PHP Settings URL

Source: Internet
Author: User
This people may be very rare, write their own fun.

if ($page _num > 1) {echo ' next page ';}

And

if ($page _num > 1) {                $page _num++;echo ' next page ';}

Why do you use PHP and MySQL to turn pages, why the first one is useful, and the second page down to the second one is useless?
Even if the second one is used

$page _num + = 1;

It's also ineffective.

Reply content:

This people may be very rare, write their own fun.

if ($page _num > 1) {echo ' next page ';}

And

if ($page _num > 1) {                $page _num++;echo ' next page ';}

Why do you use PHP and MySQL to turn pages, why the first one is useful, and the second page down to the second one is useless?
Even if the second one is used

$page _num + = 1;

It's also ineffective.

Please send the complete code here. I think your implementation of this is not elegant ...

$page _num++ has in-place modified Page_num, $page _num + 1 No. Would it be easy to understand the code you're assembling?

Addl $, Page_num

This is Page_num + +

MOVL Page_num,%EAXADDL $%eax

This is page_num + = 1, page_num memory value is not changed, but is copied to the EAX register, and then in the EAX register +1 output.

  • 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.