PHP développe une page de requête de livre simple pour un système de gestion d'arrière-plan de livre
La colonne de gestion du menu de création de cette section comporte la colonne de statistiques du livre, page de fonction "Requête de livre"
Sélectionnez le nom du livre, le numéro de série, le prix, la durée de stockage, la catégorie du livre à travers cette page,
Remplissez ensuite les différents livres dans le système de gestion des requêtes et affichez-les sur la page
L'administrateur peut opérer. Comme le montre l'image?:
Pour interroger le contenu de la zone de texte, utilisez le formulaire <form>
Utilisez <table> ;tr>< à l'intérieur de td>Mise en page.
Ajouter une zone de sélection <select><option>
La page d'affichage utilise également une disposition de tableau <table>
<body> <table width="100%" border="0" align="center" cellpadding="2" cellspacing="1" class="table"> <tr> <td width="100%" height="27" valign="top" bgcolor="#FFFFFF" class="bg_tr"> 后臺(tái)管理 >> 圖書查詢</td> <tr> <td height="27" valign="top" bgcolor="#FFFFFF" class="bg_tr"> <form id="form1" name="form1" method="post" action="" style="margin:0px; padding:0px;"> <table width="45%" height="42" border="0" align="center" cellpadding="0" cellspacing="0" class="bk"> <tr> <td width="36%" align="center"> <select name="seltype" id="seltype"> <option value="id">圖書序號(hào)</option> <option value="name">圖書名稱</option> <option value="price">圖書價(jià)格</option> <option value="time">入庫時(shí)間</option> <option value="type">圖書類別</option> </select> </td> <td width="31%" align="center"> <input type="text" name="coun" id="coun" /> </td> <td width="33%" align="center"> <input type="submit" name="button" id="button" value="查詢" /> </td> </tr> </table> </form> </td> </tr> </table> <table width="100%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#CCCCCC" class="table" > <tr> <td width="7%" height="35" align="center" bgcolor="#FFFFFF">ID</td> <td width="28%" align="center" bgcolor="#FFFFFF">書名</td> <td width="12%" align="center" bgcolor="#FFFFFF">價(jià)格</td> <td width="24%" align="center" bgcolor="#FFFFFF">入庫時(shí)間</td> <td width="12%" align="center" bgcolor="#FFFFFF">類別</td> <td width="24%" align="center" bgcolor="#FFFFFF">操作</td> </tr> <tr align="center"> <td class="td_bg" width="7%"></td> <td class="td_bg" width="28%" height="26"></td> <td class="td_bg" width="12%" height="26"></td> <td class="td_bg" width="24%" height="26"></td> <td class="td_bg" width="12%" height="26"></td> <td class="td_bg" width="24%"> <a href="#">修改</a> <a href="#" class="trlink">刪除</a> </td> </tr> <tr> <th height="25" colspan="6" align="center" class="bg_tr"> 首頁 | 上一頁 | 下一頁 | 末頁 頁次:/頁 共有/條信息 </th> </tr> </table> </body>