首页 > 开发 > PHP > 正文

php+mysql写的简单留言本实例代码

2024-05-04 22:12:17
字体:
来源:转载
供稿:网友
guestbook.php: 
<head> 
<meta http-equiv="Content-Language" c> 
<meta http-equiv="Content-Type" c> 
<title></title> 
<STYLE>A:link { 
        COLOR: #002878; TEXT-DECORATION: none 

A:visited { 
        COLOR: #002878; TEXT-DECORATION: none 

A:active { 
        TEXT-DECORATION: none 

A:hover { 
        COLOR: #cc1111; TEXT-DECORATION: none 

P { 
        COLOR: #002878; FONT-SIZE: 9pt 

TABLE { 
        COLOR: #002878; FONT-SIZE: 9pt 

LI { 
        COLOR: #002878; FONT-SIZE: 9pt; LINE-HEIGHT: 14pt 

UL { 
        COLOR: #002878; FONT-SIZE: 9pt 



</STYLE> 
</head> 

<body> 
<div align="center"> 
  <center> 
  <table border="0" cellpadding="0" cellspacing="0" width="574" height="312"> 
   </center> 
   <tr> 
<td><p align="center">高三<6>班留言本本</br></td> 
</tr> 
    <tr> 
      <td width="574" height="272" valign="top"> 
        <form method="POST" action="ly.php"> 

          <table border="0" cellpadding="0" cellspacing="0" width="100%"> 
  <center> 
   <tr> 
              <td width="26%" align="right"> 
          姓名:</td> 
  <td width="74%"><input style="font-size: 9pt; width: 186; background-color: #f8f8f8; height: 19; border: 1px solid #9a9999"   
type="text" name="T1" size="13"></td> 
  </tr> 
  <tr> 
              <td width="26%" align="right"> 
发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表