Check if a user has voted for your page.
Switch branches/tags
Nothing to show
Clone or download
Latest commit a615cc6 Apr 6, 2014
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md Update README.md Apr 6, 2014
example.php Replace tabs to spaces in example as well. Apr 6, 2014
findretros.php Change tabs to spaces. Apr 6, 2014
findretros_config.php Change a few config settings. Apr 6, 2014

README.md

Vote-Validator

Check if a user has voted for your page.

####Example

<?php

require_once 'findretros_config.php';
require_once 'findretros.php';

$FindRetros = new FindRetros();

if($FindRetros->hasClientVoted()) {

    echo 'You have voted!';

}else{

    // echo 'You have yet to vote!';

    $FindRetros->redirectClientToVote();

}