guys i need help, how could i get the id of a button? i have this code
echo "form action = 'sec_ph_fileMain.php' method = 'post'>";
echo "<input type = 'submit' name = 'upload' value = 'Upload' id = 'hi'>";
//variable declaration
$upload = $_POST['upload'];
what i want is that, when the user clicks the upload button, it will display the id of that button.