<Tabel> & <form>
Hej allesammenJeg vil meget gerne spørge om nogen af jer ville være venlige at hjælpe mig med mit HTML script som jeg ikke kan få til at hænge sammen -> grunden til at det står i PHP kategorien er fordi det indeholder PHP <- Anyway..
mit script ser således ud..
<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\">
<tr>
<td width=\"20%\" align=\"center\"><b>Ret</b></td>
<td width=\"40%\"><font color=\"#000000\"><b>Navn</b></font></td>
<td width=\"40%\"><font color=\"#000000\"><b>IP</b></font></td>
<td width=\"20%\" align=\"center\"><b><font color=\"#000000\">Slet</font></b></td>
</tr>
<?
$res = mysql_query(\"SELECT * FROM $tabel ORDER BY id DESC\");
while($row = mysql_fetch_array($res)) { ?>
<tr>
<td width=\"20%\" nowrap align=\"center\" height=\"12\"><font color=\"#000000\"></font>
<form method=\"post\" action=\"<? print\"$PHP_SELF\"; ?>\" target=\"_self\">
<input type=\"hidden\" name=\"action\" value=\"admin_option\">
<input type=\"hidden\" name=\"admin_action\" value=\"slet\">
<input type=\"hidden\" name=\"id\" value=\"<? print \"$row[id]\";?>\">
<input type=\"submit\" value=\"Slet\"></form></font>
</td>
<td width=\"40%\" nowrap height=\"12\"><font color=\"#000000\">
<? print \"$row[nick]\";?>
</font></td>
<td width=\"40%\" nowrap height=\"12\"><font color=\"#000000\">
<? print \"$row[ip]\";?>
</font></td>
<td width=\"20%\" align=\"center\" height=\"12\">
<p align=\"center\"><font color=\"#000000\">
<form method=\"post\" action=\"<? print\"$PHP_SELF\"; ?>\" target=\"_self\">
<input type=\"hidden\" name=\"action\" value=\"admin_option\">
<input type=\"hidden\" name=\"admin_action\" value=\"slet\">
<input type=\"hidden\" name=\"id\" value=\"<? print \"$row[id]\";?>\">
<input type=\"submit\" value=\"Slet\"></form></font>
</td>
</tr>
<? } ?>
</table>
I kan se et eks. på det her
http://www.rachid.dk/jwnewsphp/index.php3?action=admin_login
Det jeg ikke fatter er at mine knapper og min tekst ikke er i samme højde?
