
Jak rozlišit formulář v PHP
Ahoj.
Mám takový formulář
<form method="post">
<table>
<tr>
<td><input type="text" name="new" value="" /></td><td><input type="submit" name="new" value="New" /></td>
<td><input type="text" name="rename" value="" /></td><td><input type="submit" name="rename" value="Rename" /></td>
<td><input type="text" name="move" value="" /></td><td><input type="submit" name="move" value="Move" /></td>
<td><input type="text" name="copy" value="" /></td><td><input type="submit" name="copy" value="Copy" /></td>
<td><input type="text" name="delete" value="" /></td><td><input type="submit" name="delete" value="Delete" /></td>
</tr>
</table>
</form>
a nevím, jak to mám udělat, aby se odeslal jen ten input co patří k tomu tlačítku, ono se to odešle všechno ať kliknu na jakékoliv tlačítko. Nechci vkládat do <td>další <form>. Nejde to nějak elegantně bez JS? Díky moc.