Six _php Basics of java/jsp Learning Series

Source: Internet
Author: User

Pre-run preparation

Download MySQL JDBC driver (a jar file) and load it in Classpath (method see "One of the Java/jsp Learning Series (JDK installation)")

(If not found, please download from this site)

Build a MySQL database test

There is a table in the database: note, field: name (varchar)

Second, download, install



Intpagecount) intpage = Intpagecount;

%>

















Name



0)

{

Position the record pointer over the first record of the page you want to display

Sqlrst.absolute ((intPage-1) * intpagesize + 1);

Display data

i = 0;

while (i















Page Total Page

"> Next page

1) {%> "> Prev







Third, how to run?
(Source: viphot.com)
Related Article

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.