Summary Files Commits Branches @commit @diff @stats
path: root / src / index.php
diff options
context:
space:
mode:
1 files changed, 6 insertions, 0 deletions
-rw-r--r--src/index.php6
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;
?>