Scenario: Let’s say we have “Get Details” and “Update Details” buttons. And we want to make visible Update button after we fire the “Get Details” button.
This is Get Details button:
<input type="submit" value="Get Details" name="getDetails" />
Then Update Details button must be like that:
<input type="submit" name='updateButton' value='updateDetails' <?php if(isset($_POST['getDetails'])) {?> style="visibility:visible" <?php } else { ?> style="visibility:hidden" <?php } ?> />