1. samuel Okoroafor
  2. Web Services Tutorial Code

Commits

Lorna Mitchell  committed 32fe824

updating the data array in the first example to match the others

  • Participants
  • Parent commits 4ba232b
  • Branches default

Comments (0)

Files changed (1)

File public/index.php

View file
  • Ignore whitespace
 <?php
 
 $data = array(
-    'format' => 'json',
-    'status' => 'live'
-);
+    'status' => 'live',
+    'now' => time()
+    );
 
 echo json_encode($data);