Created
March 20, 2018 20:59
-
-
Save ShaneCunn/3d23ccdc030c15b1306ba1806466fa52 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (isset($_POST['action']) && !empty($_POST['action'])) { | |
$action = $_POST['action']; | |
switch ($action) { | |
case 'getEMP' : | |
getEMP($DBconnect); | |
break; | |
case 'getProd' : | |
getProducts($DBconnect); | |
break; | |
// ...etc... | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment