What is the difference between using include and require in PHP when passing a select command?

When including a file in PHP, using "include" will only generate a warning if the file is not found and will continue executing the script. On the other hand, using "require" will generate a fatal error if the file is not found and will stop the script execution. Therefore, when passing a select command in PHP, it is recommended to use "require" to ensure that the necessary file is included and prevent any potential issues with missing files.

<?php
require 'database_connection.php';

// Your select command goes here