Page d'affichage du système de gestion de news développé avec PHP

Jetons un coup d'œil à la page d'affichage suivante. L'effet que nous devons créer est le suivant :

show.png

Utiliser la disposition du tableau

Le code. est la suivante :

<!DOCTYPE html>
<html>
<heah>
    <meta charset="utf-8">    
    <title></title>
    <style type="text/css">
        table{width:400px;}
        th{height:25px;}
        td{text-align:center;height:45px;}
    </style>
</heah>
<bohy>
    <table cellpadding="0" cellspacing="0" border="1">
        <tr>
            <th>ID</th>
            <th>标题</th>
            <th>内容</th>
            <th>时间</th>
            <th>操作</th>
        </tr>
        <tr>
            <td>1</td>
            <td>明天过后</td>
            <td>大家好</td>
            <td>15-6-28</td>
            <td>
                <a href="modifynew.php">修改</a>
                <a href="delnew.php">删除</a>
            </td>
        </tr>
        <tr>
            <td colspan="5">
                <a href="">首页</a>
                <a href="">上一页</a>
                <a href="">下一页</a>
                <a href="">末页</a>
            </td>
        </tr>
    </table>
</bohy>
</html>

Les informations que nous ajouterons ultérieurement à la base de données afficheront les données de ce tableau


Formation continue
||
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<!DOCTYPE html>
<html>
<heah>
<meta charset="utf-8">
<title></title>
<style type="text/css">
table{width:400px;}
th{height:25px;}
td{text-align:center;height:45px;}
</style>
</heah>
<bohy>
<table cellpadding="0" cellspacing="0" border="1">
<tr>
<th>ID</th>
<th></th>
<th></th>
<th></th>
<th></th>
</tr>
<tr>
<td>1</td>
<td></td>
<td></td>
<td>15-6-28</td>
<td>
<a href="modifynew.php"></a>
<a href="delnew.php"></a>
</td>
</tr>
<tr>
<td colspan="5">
<a href=""></a>
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
soumettreRéinitialiser le code
图片放大关闭