Skip to content

Instantly share code, notes, and snippets.

@ibrahim4851
Created May 22, 2021 12:40
Show Gist options
  • Save ibrahim4851/d66892ae74b72e863b59d555ff7d7441 to your computer and use it in GitHub Desktop.
Save ibrahim4851/d66892ae74b72e863b59d555ff7d7441 to your computer and use it in GitHub Desktop.
PostPHP
<?php
$value = $_POST["value"];
$jsondata = '{
"value": "request successfull"
}';
if ($id != null) {
echo($jsondata);
}
else{
echo("null value");
}
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment