No rows being returned from MySQL query using PHP while manually running query returns rows – Phpmyadmin
I am using jquery ajax to call up a PHP page simple API that returns JSON. here is the code for that <?php $response['is_error'] = 'no'; $user = $_POST['user']; $date = $_POST['date']; $sql = "select * from locations where user_id='$user'…