Onbekend |
|
Hoi
Heb effe een klein probleempje met me query
<?
$sql = "INSERT INTO [users] (login, pass, email, type, ip, code) VALUES
('".$_POST['naam']."', '".$_POST['pass2']."', '".$_POST['email']."', '".$_POST['type']."', '".$_SERVER['REMOTE_ADDR']."', '".$code."')";
mysql_query($sql) or die("error ".mysql_error());
?>
<? $sql = "INSERT INTO [users] (login, pass, email, type, ip, code) VALUES ('".$_POST['naam']."', '".$_POST['pass2']."', '".$_POST['email']."', '".$_POST['type']."', '".$_SERVER['REMOTE_ADDR']."', '".$code."')"; ?>
Zelf weet ik nie wat fout is?
|