Created
June 1, 2019 22:18
-
-
Save samfcmc/f8b155457136e9db07dd9c300018e42b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$data = getDataFromDatabase(); | |
// Let's output the $data variable's content | |
var_dump($data); | |
echo json_encode($data); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment