如何使用php提交到数据库 [英] How do I submit to database using php

查看:82
本文介绍了如何使用php提交到数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

<html>
<body>
 Name
<input type="text" name="name"><br>

 <input type="checkbox" name="chk" <label>Sony</label><br/>
 <input type="checkbox" name="chk" <label>Samsung</label><br/>
 <input type="checkbox" name="chk" <label>Nokia</label><br/>
 <input type="checkbox" name="chk"  <label>Lg</label><br/>
 
 <input type="submit" name="submit" Value="submit">
 </form> 
</body>
</html>

推荐答案

需要更多代码才能提交我们可以在这里回答数据库。我建议使用Google搜索示例,甚至查看本网站上的文章。
It requires a lot more code to submit this to the database than we can answer here. I suggest googling for examples or even looking at the articles on this site.
















< input type =submitvalue =submitname =submit >










<input type="submit" value="submit" name="submit">

<?php  <br mode="hold" /?>if(isset(


_POST ['提交']))
{
_POST['submit'])) {


这篇关于如何使用php提交到数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆