CSS-Want to use PHP to achieve a Web page album function, but there are several features do not know how to achieve, consult!

Source: Internet
Author: User
Hello everyone, I am now also a novice, the world of PHP over a, now want to do a belong to their own network album, the homepage is a 2 frames, the page is the album directory, click the album directory under the framework of the page to display all the photos of this album, in fact, it is relatively simple to do static web Html+css , but I feel like that each album to build themselves, write HTML code is very troublesome, now want to pass PHP, directly below is a page, A. PHP, according to the above-clicked album name to automatically look up from the database or automatically write out the HTML code to display the picture of the album, and some album pictures, want to have paging function, but do not know how to achieve this paging function. Is this simple demand, do not know if there is no big God to help me to solve, maybe I just beginner, but also need to learn.
Ask a few small questions: 1. For example, I have 2 frames, how can I make the following frame height automatically adapt, such as click on the above directory hyperlink, the following display photos, the height of each photo is different, and the text is also displayed, text height is not the same, how to let the following frame automatically adapt to the height of this text? Oh, yes, I framed this frameset frame with a big ifame.

Reply content:

Hello everyone, I am now also a novice, the world of PHP over a, now want to do a belong to their own network album, the homepage is a 2 frames, the page is the album directory, click the album directory under the framework of the page to display all the photos of this album, in fact, it is relatively simple to do static web Html+css , but I feel like that each album to build themselves, write HTML code is very troublesome, now want to pass PHP, directly below is a page, A. PHP, according to the above-clicked album name to automatically look up from the database or automatically write out the HTML code to display the picture of the album, and some album pictures, want to have paging function, but do not know how to achieve this paging function. Is this simple demand, do not know if there is no big God to help me to solve, maybe I just beginner, but also need to learn.
Ask a few small questions: 1. For example, I have 2 frames, how can I make the following frame height automatically adapt, such as click on the above directory hyperlink, the following display photos, the height of each photo is different, and the text is also displayed, text height is not the same, how to let the following frame automatically adapt to the height of this text? Oh, yes, I framed this frameset frame with a big ifame.

PHP page of the MU class network to find PHP video tutorial, there is a special video to teach how to pagination

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