Skip to content
Snippets Groups Projects
Commit 9eab4a29 authored by v4nkor's avatar v4nkor
Browse files

Added getArg

parent ad8fa023
Branches
No related tags found
No related merge requests found
_inc.php 0 → 100644
<?php
function getArg($variable){
if(isset($_POST[$variable])){
return $_POST[$variable];
}
else if(isset($_GET[$variable])){
return $_GET[$variable];
}
else{
return false;
}
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment