Last night I had my php connecting to database and loading products fine. This morning I open up c9 and it no longer connects to any databases.
$servername = getenv(‘IP’);
$username = getenv(‘C9_USER’);
$password = “”;
$database = “c9”;
$dbport = 3306;
$con = new mysqli($servername, $username, $password, $database, $dbport);
RESOLVED - <? tag no longer supported this morning? had to use <?php