I am attempting to include a PHP file that contains a class that I would like to use. My main file includes:
<?php
echo "main started"
require_once("mysqli.php");
echo "File Included";
?>
mysqli.php (which is located in the same folder as the main file):
<?php
echo "Mysqli_connector"
class Mysqli_connector {
} // end of class
?>
I output main started
and then the program ends with no errors or warnings that I can see. Is there a problem with include files with classes in PHP? I am a C++ coder 95% of the time, so I'm not used to PHP querks.