This document provides a list of PHP tutorials covering basic syntax, arrays, forms, dates, server-side includes, sessions, email, and form validation. Key topics include using the include() and require() functions to insert file content, storing variables in sessions, and sending emails with PHP forms that include validation of user input.
This document provides a list of PHP tutorials covering basic syntax, arrays, forms, dates, server-side includes, sessions, email, and form validation. Key topics include using the include() and require() functions to insert file content, storing variables in sessions, and sending emails with PHP forms that include validation of user input.
You can insert the content of a file into a PHP file before the server executes it, with the include() or require() function. The two functions are identical in every way, except how they handle errors. The include() function generates a warning (but the script will continue execution) while the require() function generates a fatal error (and the script execution will stop after the error).