Posts by Jorge Durvalino Junior • 71 points
2 posts
-
1
votes3
answers658
viewsA: Pass SQL output to JSON
I found the answer. The problem was accents. I had to encode to UTF-8 to be able to solve. The resolution was even a little simple. See: ** $query = "SELECT client_id, name, email FROM `client`";…
-
6
votes3
answers658
viewsQ: Pass SQL output to JSON
Hello, I want to pass the result of a select to json, but I can’t check why I can’t see it. So someone could tell me why this code doesn’t print anything? include_once 'conexao.php'; $query =…