14 lines
No EOL
285 B
PHP
Executable file
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";
|
|
}
|
|
?>
|