wahlhelfer/includes/ajax/status.php
2014-05-15 18:49:45 +02:00

14 lines
No EOL
285 B
PHP
Executable file

<?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";
}
?>