MyBB SQL Error
|
14-12-2017, 14:40
Mensagem: #3
|
|||
|
|||
RE: MyBB SQL Error
$sql="INSERT INTO NEWSLETTER (name,email)
VALUES ('$_POST[name]','$_POST[email]')"; This is only IF your table is named : NEWSLETTER and your fields in your NEWSLETTER table are name, and email. The id should auto increment, setup as an identity, so you don't need to add that manually. professional assignment writers [color=#26282a][size=small]IMPORTANT NOTE: I would HIGHLY stress that you sanitize your data. (Make sure it is safe from SQL injection) -> http://en.wikipedia.org/wiki/SQL_injecti...ze][/color] |
|||
« Mais Antigo | Mais Recente »
|
Mensagem neste Tópico |
MyBB SQL Error - migs - 28-07-2014, 23:43
RE: MyBB SQL Error - sharlynharville - 14-12-2017, 14:39
RE: MyBB SQL Error - sharlynharville - 14-12-2017 14:40
|
Utilizadores a ver este tópico: 1 Visitante(s)