What is the process for calling one PHP page from another PHP script?

To call one PHP page from another PHP script, you can use the include or require functions in PHP. These functions allow you to include the content of one PHP file within another PHP file, essentially merging the two scripts together. This can be useful for reusing code, organizing your project, or modularizing your application.

// Include another PHP file within your current PHP script
include 'path/to/another_php_file.php';

// Or use require if you want the included file to be mandatory for the script to run
require 'path/to/another_php_file.php';