add template files and compose file, fix syntax errors in template
This commit is contained in:
@@ -15,7 +15,7 @@ class FacilityDataSet {
|
|||||||
$sqlQuery = 'SELECT * FROM ecoFacilities;';
|
$sqlQuery = 'SELECT * FROM ecoFacilities;';
|
||||||
|
|
||||||
$statement = $this->_dbHandle->prepare($sqlQuery); // prepare a PDO statement
|
$statement = $this->_dbHandle->prepare($sqlQuery); // prepare a PDO statement
|
||||||
$statement->execute(); // execute the PDO statement
|
$statement->execute(); // execute the PDO statemen
|
||||||
|
|
||||||
$dataSet = [];
|
$dataSet = [];
|
||||||
// loop through and read the results of the query and cast
|
// loop through and read the results of the query and cast
|
||||||
|
Reference in New Issue
Block a user