Silent_digital
Mitglied
Ich habe ein Problem mit einem Memberscript
Wenn ich die seite aufrufe wird nix angezeigt
PHP:
<?PHP
include ("config.php");
include ("update.php");
include ("add.php");
include ("delete.php");
include ("details.php");
?>
<?php
$sql = mysql_connect($host, $user, $password);
mysql_select_db($db,$sql);
echo "
<table align=\"center\" width=\"100%\" cellspacing=\"2\" cellpadding=\"2\" border=\"1\" bordercolor=\"#000000\">
<tr>
<td width=\"3%\" bgcolor=\"black\">Players:</font></td>
<td width=\"20%\" bgcolor=\"black\">Aufgabe</font></td>
<td width=\"32%\" bgcolor=\"black\">Status:</font></td>
<td width=\"36%\" bgcolor=\"black\">Aktionen:</td>
</tr></table><p>
";
$result = mysql_query("select * from membercs");
if ($num = mysql_num_rows($result)) {
for($i=0;$i < $num; $i++) {
$nickname = mysql_result($result,$i,"nickname");
$aufgabe = mysql_result($result,$i,"aufgabe");
$status = mysql_result($result,$i,"status");
echo "
<table align=\"center\" width=\"100%\" cellspacing=\"2\" cellpadding=\"2\" border=\"1\" bordercolor=\"#000000\">
<tr>
<td>$nickname</td>
<td>$aufgabe</td>
<td>$status</td>
<td><A href=\"$PHP_SELF?nr=$nr&action=show\">Anzeigen</A> <A href=\"$PHP_SELF?nr=$nr&action=update\">Bearbeiten</A> <a href=\"$PHP_SELF?nr=$nr&action=loeschen\">Löschen</a></td>
</tr></table><br>
";
}
}
?>
Wenn ich die seite aufrufe wird nix angezeigt