Codice PHP:
INSERT INTO `'.$this->config->prefix.'user` ( `id` , `username` , `password` , `e-mail` , `date` , `state` )
VALUES (
'', \''.$_POST["username"].'\', MD5( \''.$_POST['password'].'\' ) , \''.$_POST['e-mail'].'\', UNIX_TIMESTAMP( \''.$_POST['d']."-".$_POST['m']."-".$_POST['y'].'\' ) , \'1\'
);
io ho quest'ordine in sql...
però mi crea dei problemi con le variabili...
il messaggio di errore è
codice:
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in C:\Programmi\PAMPA\PAMPA\apache\htdocs\php2\page\login.php on line 12