Hallo.
Mich plagen 2 Probleme:
1.
Folgende Fehlermeldung:
Warning: mysql_result(): supplied argument is not a valid MySQL result resource in
Quelltext:
$query="SELECT COUNT(*) FROM $table WHERE user=$nick";
$dummy=mysql_query($query);
$num=mysql_result($dummy,0);
2.
Folgende Fehlermeldung:
Warning: Cannot modify header information - headers already sent by (output started at...//Zeile
Geschehnis:
$num=1;
Quelltext(_wesentlich_ verkürtzt):
if($num==0){
if($pwd==$pwd2){
header('Location: index.php?show=blank&action=regdone');
} elseif ($pwd!=$pwd2) {
header('Location: index.php?show=new&err=notsamepwd');//Zeile
}
} else {
header('Location: index.php?show=new&err=nameexists');
}
Problem 2 hab ich shcon so oft gehabt _und_ gelöst aber diesmal habe ich echt keine Ahnung. Ich hoffe ihr könnt mir helfen.
mfg
Phil