html页面中日期表格,如何添加表格日期到html表格

嗨我想发送表单数据到php确认页面。确认页面应包含注册人的详细信息。新注册人的详细信息应添加到以前注册的人员。这是我所做的,但不是将新的信息添加到表中,而是替换它。我是新来的PHP,我需要如何绕过它的建议。它应该是这样的提交后:如何添加表格日期到html表格

--------------------------

Registration Conformation |

---------------------------------------------

First name |Last name |Email |

---------------------------------------------

Jack |Fams |[email protected] |

---------------------------------------------

Matthew |Bills |[email protected] |

---------------------------------------------

Judith |Kamps |[email protected] |

---------------------------------------------

Registration form

.button{

box-shadow: 10px 10px 5px #888888;

padding: 5px;

width: 90%;

}

.div{

border: 2px solid black;

width: 28%;

margin: auto;

margin-top: 15%;

padding: 10px;

font-family: Comic Sans;

text-align: center;

}

h1{

text-align: center;

font-family: "Comic Sans", "Comic Sans MS", cursive;

font-weight: bold;

}

table.set{

text-align: center;

margin-left: auto;

margin-right: auto;

width: 60%;

}

td{

text-align: left;

font-family: "Comic Sans", "Comic Sans MS", cursive;

font-weight: bold;

}

NewsLetter-Registration

First Name:
Last Name:
E-mail:

registry.php

Registration form

.button{

box-shadow: 10px 10px 5px #888888;

padding: 5px;

width: 90%;

}

.div{

width: 60%;

margin: auto;

margin-top: 15%;

padding: 10px;

font-family: Comic Sans;

text-align: center;

}

h1{

text-align: left;

font-family: "Comic Sans", "Comic Sans MS", cursive;

font-weight: bold;

}

table.set{

text-align: center;

margin-left: auto;

margin-right: auto;

width: 60%;

border-collapse: collapse;

border: 2px solid black;

}

td{

text-align: left;

font-family: "Comic Sans", "Comic Sans MS", cursive;

font-weight: bold;

}

NewsLetter-Registry

First Name:Last Name:E-mail
<?php echo $_POST["fname"]; ?><?php echo $_POST["lname"]; ?><?php echo $_POST["email"]; ?>

+0

它看起来像你需要使用数据库来存储以前的注册人。每次您加载确认页面时,都会有一个SQL查询来获取所有当前注册的人员。 –

+0

非常感谢JREAM,有没有其他方法可以在不使用数据库的情况下做到这一点? –

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值