Skip to content

Instantly share code, notes, and snippets.

@tjtate
Last active August 29, 2015 14:01
Show Gist options
  • Save tjtate/130d9b5ad25396e46885 to your computer and use it in GitHub Desktop.
Save tjtate/130d9b5ad25396e46885 to your computer and use it in GitHub Desktop.
<?php
$totalRight = 10;
$passThreshold = 16;
if ($totalRight >= $passThreshold) { ?>
<script>
window.location = "http://gizoogle.com";
</script>
<?php } else { ?>
<script>
window.location = "http://gizoogle.com";
</script>
<?php } ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment