Why is there no closing php tag in database.php?
Why is there no closing php tag in database.php? In database.php, only <?php is there but not the closing tag, ?>.
Ken AlgerTreehouse Teacher
Here is the quote from the PHP Manual
If a file is pure PHP code, it is preferable to omit the PHP closing tag at the end of the file. This prevents accidental whitespace or new lines being added after the PHP closing tag, which may cause unwanted effects because PHP will start output buffering when there is no intention from the programmer to send any output at that point in the script.