wahlhelfer/includes/ajax/status.php

14 lines
285 B
PHP
Raw Normal View History

2014-05-15 16:49:45 +00:00
<?php
include('../../config/config.php');
include('../classes/class.Vote.php');
$objVote=new Vote();
if(isset($_REQUEST['questionId']))
{
$objVote->question=$_REQUEST['questionId'];
$status=$_REQUEST['priorityStatus'];
$objVote->updateStatus($status);
echo "1";
}
?>