From 852e91a3da52a478c942bf7a664df8d8798b0641 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Thu, 1 Apr 2021 10:26:26 +0300 Subject: Implemented delete from DB and added error handling to queries --- src/index.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/index.php') diff --git a/src/index.php b/src/index.php index 6478815..7120cd3 100644 --- a/src/index.php +++ b/src/index.php @@ -17,4 +17,6 @@ JobOffer::updateFromDB($gottenjb); $secgot = JobOffer::getFromDBById(1); echo $secgot->title; + + JobOffer::deleteFromDB(3); ?> -- cgit v1.3.1-25-g5ce5