created backend for project section and updated the css for the images
This commit is contained in:
Vendored
+2
-1
@@ -9,7 +9,8 @@ use Slim\Factory\AppFactory;
|
||||
|
||||
//require “routes.php”;
|
||||
require "../vendor/autoload.php";
|
||||
include "timelineData.php";
|
||||
include "timelineData.php";
|
||||
include "projectData.php";
|
||||
|
||||
// Start slim
|
||||
$app = AppFactory::create();
|
||||
|
||||
Vendored
+1
-1
@@ -29,7 +29,7 @@ class TimelineData
|
||||
function getWorkData()
|
||||
{
|
||||
$conn = dbConn();
|
||||
$stmt = $conn->prepare("SELECT DATE_FORMAT(startPeriod, '%b, %Y') as startPeriod, DATE_FORMAT(endPeriod, '%b, %Y') as endPeriod, companyName, area, title FROM work ORDER BY startPeriod DESC;");
|
||||
$stmt = $conn->prepare("SELECT DATE_FORMAT(startPeriod, '%b, %Y') as startPeriod, DATE_FORMAT(endPeriod, '%b, %Y') as endPeriod, companyName, area, title FROM work ORDER BY work.startPeriod DESC;");
|
||||
$stmt->execute();
|
||||
|
||||
// set the resulting array to associative
|
||||
|
||||
Reference in New Issue
Block a user