php表格中嵌入数据,该如何解决

WBOY
Release: 2016-06-13 13:48:38
Original
1006 people have browsed it

php表格中嵌入数据
各位大侠:您们好!

我想做一个内容栏。用表格控制其位置。
如:
|-------------------------------------------|
|CAD |
|___________________________________________|
|内容1 ............................ |
|内容2 ............................ |
|....................................共10行 |
|___________________________________________|

单独写在数据中读出数据,再写一个表格,我知道怎样写。
可因为这是一个固定的表格。就不怎样控制才为好。

谢谢。

------解决方案--------------------
固定表格。那你直接在td里面输出数据啊..
------解决方案--------------------
你需要好好学习html
------解决方案--------------------
你应该去问问CSS那边的高手

------解决方案--------------------

HTML code
  $staff = array(
            array("????","???","????"),
            array("С??","??",24),
            array("С??","?",25),
            array("С??","??",23)
        );

echo "
Copy after login
"; while(list($key,$value)=each($staff)){ list($name,$sex,$age)=$value; echo ""; } echo "
$name $sex $age
";
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template