<?php

if (isset($_REQUEST["column"]) &&
        isset($_REQUEST["id"])) {


    include_once './DataManager.php';

    #Setup variables 
    $column = $_REQUEST["column"];
    $id = $_REQUEST["id"];

    #Query the database to get the user details. 
    DataManager::incrementRating($column, $id);
    echo "[]";
} else {
    echo "Could not complete query. Missing parameter";
}
?>