Created
September 8, 2017 21:35
-
-
Save davidchc/5ebf1c908eec1963cc17330ac411c98a 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
<?php | |
$action = isset($_GET['action']) ? 'insert'; | |
if($action == 'insert') { | |
//aqui faz a inserção | |
} | |
if($action == 'update') { | |
//aqui faz alteração | |
} | |
if($action == 'delete') { | |
//aqui faz a exclusão | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment