What is the correct way to include a PHP file using a script tag?

When including a PHP file using a script tag, you need to use the `include` or `require` function in PHP to include the file. You cannot directly include a PHP file using a script tag in the HTML code because PHP is a server-side language and needs to be processed by the server before being sent to the client's browser.

<?php
include 'path/to/your/file.php';
?>