Hi,
I ve a form which can be submitted by many different images, and i want to know
which one has been used, here is the code :
<FORM action="index.php?id=verif" method="POST" name="search" >
........
<input type="image" src="images/alert1.gif" name="valid[0]" value="Valider" border="0">
<input type="image" src="images/alert2.gif" name="valid[1]" value="Valider" border="0">
</form>
And the target file :
if (isset($_post['valid[0]') {
.........}
else {
........}
but it doesn't work, even with $post['valid_x[0]'] instead of $post['valid[0]'].
Any clue welcome
Thanks