PHP output horizontal arrangement

Source: Internet
Author: User
The horizontal arrangement of PHP output has two fields: one pic and the other TITLE & nbsp; read from the database now. two rows and one column are required (the first row reads pic, the second row reads the TITLE), returns a line feed three times in the horizontal direction, and asks how to implement it. thank you for choosing to arrange three groups of data horizontally, next, we will use the CSS style to arrange the PHP output horizontally.
There are two fields, one is pic and the other is TITLE.
Read from the database now, requires two rows and one column (read pic in the first row and TITLE in the second row), with a line feed after three times horizontally,
Thank you for your help,

------ Solution --------------------
Arrange three groups of data horizontally, and then line feed
This is best solved with CSS styles.









Or add a sentence to the loop to determine the row number. if the row number is 3, the table column change mark is 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.