Das ist mein Code:
Wenn ich aber nun die datei mit:
aufrufe kommt meine Ausgabe bei
nicht mehr!
Wieso?
Dani
PHP-Code:
include("data/connect.php");
$result = mysql_query("SELECT * FROM user WHERE name='$name'");
while($row = mysql_fetch_row($result)){
$pwdcheck=$row[4];
}
if($pwdcheck==""){
echo'Bitte loggen Sie sich ein!';
}
elseif($action=="home"){
if($pwd2==$pwdcheck){
include("data/counter_navy.php");
echo'<br><br><br>
';
$result = mysql_query("SELECT * FROM user_count WHERE name='$name'");
while($row = mysql_fetch_row($result)){
echo'
<strong>Ihre Page-Views:</strong> '.$row[1].'<br>
<strong>Ihr Site-Klick:</strong> '.$row[2].'<br>
<strong>Aktuelles Design:</strong> '.$row[4].'<br><br><br><br>
';
}
$result = mysql_query("SELECT * FROM user WHERE name='$name'");
while($row = mysql_fetch_row($result)){
echo'
<strong>Ihre Daten:</strong><br>
<br>
<strong><font color="#800000">Name:</font></strong> '.$row[1].'<br>
<strong><font color="#800000">Email:</font></strong> '.$row[2].'<br>
<strong><font color="#800000">HomePage:</font></strong> '.$row[3].'<br>
<strong><font color="#800000">Passwort:</font></strong> '; $pwduser=base64_decode($row[4]); echo $pwduser.'<br><br>
<strong><font color="#800000">Angemeldet am:</font></strong> '.$row[5].'<br>
';
}
}
elseif($action=="design" && $pwd2==$pwdcheck){
include("data/counter_navy.php");
echo'<br><br><br>
kljdjfkljskl
';
}
else{
echo'Bitte loggen Sie sich ein!';
}
}
PHP-Code:
counter.php?action=design&name=XXX&pwd2=XXX
PHP-Code:
elseif($action=="design" && $pwd2==$pwdcheck){
Wieso?
Dani
Kommentar