Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $mio_array = $_POST["mio_form"];
- $filename = $mio_array["nome"] . "_" . $mio_array["cognome"] . ".json";
- $mio_array_in_json = json_encode($mio_array);
- file_put_contents($filename, $mio_array_in_json);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement