From 30ee8530a646d3dcf32d563bbf42475035449bb5 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Thu, 1 Apr 2021 10:13:17 +0300 Subject: Implemented update from DB and updated some comments and phpdocumentator tags --- src/index.php | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/index.php') diff --git a/src/index.php b/src/index.php index 55bba39..6478815 100644 --- a/src/index.php +++ b/src/index.php @@ -11,4 +11,10 @@ $gottenjb = JobOffer::getFromDBById(1); echo $gottenjb->title; + + $gottenjb->title = "Something even newer"; + echo $gottenjb->title; + JobOffer::updateFromDB($gottenjb); + $secgot = JobOffer::getFromDBById(1); + echo $secgot->title; ?> -- cgit v1.3.1-23-gd82d