$sql = "SELECT MAX(`id`) FROM `VoteProject_2`";
$result = $conn->query($sql);
function _stripSlashesRecursive( $value )
{
echo '<pre>';print_r($value);echo'</pre>';
}
_stripSlashesRecursive ($result);
$row = $result->fetch_row();
$firstField = $row[0];
_stripSlashesRecursive($firstField);