Last active
January 31, 2017 10:57
-
-
Save Mozartted/2b6f6e5a146e3d9df880f981890b2a64 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
parse_str(file_get_contents("php://input"),$post_vars); //why this ?... the post could have gotten the values without it... | |
$getProject->project_name = filter_var($post_vars['newProjectname'], FILTER_SANITIZE_STRING); | |
$getProject->due_date = trim($post_vars['newDate']); | |
$getProject->status = filter_var($post_vars['newTeam']); | |
$getProject->dept_id = filter_var($post_vars['newDeptId']); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment