Home » Tag Archives:phpmysql (page 709)

Tag Archives: phpmysql

JSON encode MySQL results

November 2, 2017 Php Leave a comment

Questions: How do I use the json_encode() function with MySQL query results? Do I need to iterate through the rows or can I just apply it to the entire results object? Answers: $sth = mysqli_query("SE...