我有一个现有的HTML表单,它是用户提交表单而不是用户注册表单,现在我想让所有用户将数据提交到数据库。能帮忙吗?
答案 0 :(得分:0)
i just give you hint ok because it is very easy search and read ok
THIS IS HTMl CODING
<input type="text" name="name">
<input type="submit" name="button">
THIS IS PHP
if(isset($_POST['button']))
{
$text=$_POST['name']
}
$query="INSERT INTO table('column') VALUES('$text')";