il trap: Formular und Buttons

Beitrag lesen

habs gefunden, ich nehme beide buttons in ein formular und frage dann den namen des buttons ab.

Hi,
Danke für den Tipp.
Aber ich habe ja schon so was. Es sind ja 2 Formulare, einer pro Button. Irgendwie muss ich die Tabelle, die dann folgt, in diese Formulare einbinden.

Ich habe also eine Tabelle für die beiden Buttons und dann noch eine, die diesen Code hat:

print "<table border=1><br>";
print "<colgroup>";
print "<col width='10'>";
print "<col width='70'>";
print "<col width='350'>";
print "<col width='80'>";
print "<col width='20'>";
print "</colgroup>";
print "<tr>\n";
print "<th><input type="checkbox" name="check_all"></th>";
print "<th>CD ID</th>";
print "<th>Name</th>";
print "<th>Version</th>";
print "<th>Quantity</th>\n";
print "</tr>\n";

Sieht da jemand ne Lösung?
Danke, il trap

Hi,
Probiers mal so:

<html>
<head>
<title></title>
</head>
<body>
<table border="0" cellpadding="0" cellspacing="0" width="300">
<tr>
<td>
<form action="speichern.php" method="post">
<input type="submit" value="speichern">
</form>
</td>
<td>
<form action="loeschen.php" method="post">
<input type="submit" value="loeschen">
</form>
</td>
</tr>
</table>
</body>
</html>