Hab folgendes Problem: Hab ein mysql Query mit dem etwas in ne db eingefügt wird. das ganze sieht so aus:
Code:
$ip=gethostbyaddr($REMOTE_ADDR); $time=time(); $next=$time+7200; $sql2="INSERT INTO forum_session (name, id, time, next, IP) VALUES ('".$_POST["nickname"]."', '$id', '$time', '$next', '$ip')"; $result2=mysql_query($sql2); echo $sql2." ".mysql_error(); Header("Location: index.php?sid=".$id."&sname=".$_POST["nickname"].""); $result2=mysql_query($sql2); Header("Location: index.php?sid=".$id."&sname=".$_POST["nickname"]."");
mysql_error() gibt nichts zurück!
DANKE!
Calexico[/code]
Einen Kommentar schreiben: