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 "
| $name |
$sex |
$age |
";}echo "
";