How to solve the problem of embedding data in a php table

Source: Internet
Author: User
Hello! I want to create an internal content Bar. Use tables to control its location. For example: | --------------------------------------- | CAD | _______________________________________ | content 1: embedded data in a php table
Dear heroes!

I want to create an internal content Bar. Use tables to control its location.
For example:
| ------------------------------------------- |
| CAD |
| _______________________________________________ |
| Content 1 ...... |
| Content 2 ...... ............ |
| .................................... 10 rows in total |
| _______________________________________________ |

Write the data in the data separately, read the data, and write another table. I know how to write it.
But this is a fixed table. It is better not to control it.

Thank you.

------ Solution --------------------
Fixed table. Then you can output data directly in td ..
------ Solution --------------------
You need to study html
------ Solution --------------------
You should ask the CSS experts.

------ Solution --------------------
HTML code
  $staff = array(            array("????","???","????"),            array("С??","??",24),            array("С??","?",25),            array("С??","??",23)        );echo "
  
   ";while(list($key,$value)=each($staff)){    list($name,$sex,$age)=$value;    echo "
   ";}echo "
   
$name $sex $age
";

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.