Display page of...LOGIN

Display page of news management system developed with PHP

Let’s look at the following display page. The effect we need to make is as shown below:


Use table layout

The code is as follows :

<!DOCTYPE html>
    <meta charset="utf-8">    
    <style type="text/css">
    <table cellpadding="0" cellspacing="0" border="1">
                <a href="modifynew.php">修改</a>
                <a href="delnew.php">删除</a>
            <td colspan="5">
                <a href="">首页</a>
                <a href="">上一页</a>
                <a href="">下一页</a>
                <a href="">末页</a>

The information we add to the database later will display the data in this table

Next Section
<!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>
submitReset Code