As I mentioned in the comments above, you would be better to use an array in the HTML:
<form action="" method="post">
<?php
for ($i = 0; $i < 100 ; $i++) {
echo '<input type="submit" name="clicked['.$i.']" value="clicked" />';
}
?>
</form>
Then in your PHP you can get the clicked input by doing:
echo key($_POST['clicked']); // Prints, for example, 28