I\'m running Bootstrap on my site, combined with a bootstrap plugin called Bootstrap Tables. It requests the data to be delivered as a JSON file.
I\'m having trouble
Solution:
My .json files weren't proper array's. Use the following code to make a working JSON file:
num_rows > 0) { while ($row = mysqli_fetch_assoc($result)) { $json[]=$row; } } // CLOSE CONNECTION mysqli_close($dbConnection); echo json_encode($json); ?>