Google chart does not display results from MySql database
问题 I have a problem with google charts but nothing appears. When I delete php code, it says no data, but with the code it just does not appear. Here's the code: <?php $con = mysqli_connect('localhost', 'root', ''); mysqli_select_db($con, 'gamefort'); $s = " select naziv, broj from konzola group by naziv "; $result = mysqli_query($con, $s); ?> <script type="text/javascript"> google.charts.load('current', { 'packages': ['corechart'] }); google.charts.setOnLoadCallback(drawChart); function