When I am removing the remarks the PHP returns
500 - Internal server error. There is a problem with the resource you are looking for, and it cannot be displayed.
$sql = 'SELECT * FROM lastName ORDER BY dt_server DESC';
$query = mysqli_query($conn,$sql);
//$count= mysqli_num_rows($query);
I put the // marks then the rest of the PHP codes are working, obviously the JSON data returns NULL I visited at https://www.w3schools.com/php/func_mysqli_num_rows.asp , same function sample used.
mysqli_num_rows($query); crash all. What I am doing wrong?