How can a PHP script be modified to only trigger an update when a specific button is activated?

To modify a PHP script to only trigger an update when a specific button is activated, you can use a conditional statement to check if the button has been clicked before executing the update code. This can be achieved by checking if the button's name or value is set in the $_POST superglobal array. If the button is clicked, then the update code can be executed.

```php
if(isset($_POST['specific_button'])) {
    // Update code here
}
```

This code snippet checks if the 'specific_button' is set in the $_POST array, and if it is, the update code inside the conditional statement will be executed.