Summary Files Commits Branches @commit @diff @stats
path: root / src / index.php
diff options
context:
space:
mode:
Commit588c444417c1aa68eccfe9cb96b6d10ebd4a0a84 (patch)
Author
 Syndamia <kamen.d.mladenov@protonmail.com>
2021-04-01 09:15:17 +0300
Committer
 Syndamia <kamen.d.mladenov@protonmail.com>
2021-04-01 09:15:17 +0300
Files079bddd78876bdf47708a37ca6a002fba3bf1853 /src/index.php
devrix-job-board-588c444417c1aa68eccfe9cb96b6d10ebd4a0a84.tar
devrix-job-board-588c444417c1aa68eccfe9cb96b6d10ebd4a0a84.tar.gz
devrix-job-board-588c444417c1aa68eccfe9cb96b6d10ebd4a0a84.zip
Parent9f23c3963285960ec4d30fe7b25730da1125b4a4 (diff)
Implemented a getall values from db method in JobOffer and show results in index
1 files changed, 3 insertions, 0 deletions
-rw-r--r--src/index.php3
diff --git a/src/index.php b/src/index.php
index 285f6e7..6f290d6 100644
--- a/src/index.php
+++ b/src/index.php
@@ -3,4 +3,7 @@
include_once("models/JobOffer.php");
$jb = new JobOffer("a", "", "", 0);
+ foreach(JobOffer::getAll() as $key => $obj) {
+ echo $obj->salary . "<br>";
+ }
?>