需要提交到数据库的表单:
<form method="post" >
<p>
<input name="username" type="text" id="username">
<input name="name" type="text" id="name">
<input name="time" type="text" id="time">
<input name="place" type="text" id="place">
<input name="type" type="text" id="type">
<input name="http" type="text" id="http">
<input name="password" type="text" id="password">
</p>
<p>
<input name="提交" type="submit" value="提交" />
</p>
</form>
数据库名称:admin 表名:user_zy
数据库结构截图:
问题一,如何提交进去。
问题二,怎么读取出来所有或者某一项。
我来给你代码:
<?php
有什么不明白可以留言。
说了等于没说 我需要的是代码
追答代码写了你也看不懂。
数据库名、数据库密码。数据表 表结构都不知道怎么写代码呢??
我图片上面表的结构很清楚,我的问题说明的数据库名表名也很清楚
可否写的详细点,关于数据库的操作连接,编码强调等,还有就是需要用到几个文件,是否为一个配置文件和其它几个文件之类