diff options
Diffstat (limited to 'public/ui-upd-ccode.php')
| -rw-r--r-- | public/ui-upd-ccode.php | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/public/ui-upd-ccode.php b/public/ui-upd-ccode.php new file mode 100644 index 0000000..30bbcbe --- /dev/null +++ b/public/ui-upd-ccode.php @@ -0,0 +1,18 @@ +<?php + // GET STRUCTURE; CONVERT TO ARRAY + // --------------------------------------------------------------------------- + $ccodeJSON = file_get_contents('ccode.json'); + $ccodeARRAY = json_decode($ccodeJSON); + unset($ccodeJSON); // free some memory + + // print_r($ccodeARRAY); + // echo json_encode($ccodeARRAY, JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES); + + // GET POSTED DATA; VALIDATE + // --------------------------------------------------------------------------- + + + // UPDATE RECORD ON ARRAY; SAVE (updated) JSON STRUCTURE + // --------------------------------------------------------------------------- + +?> |
