Posts by dedzera • 1 point
1 post
-
0
votes1
answer86
viewsA: Return a table between an initial and final date period, php + json
I was able to fix the syntax error. while($row = mysqli_fetch_assoc($result)){ $json[] = $row; } $data['data'] = $json; $result = mysqli_query($con,$sql); $data['total'] = mysqli_num_rows($result);…