How to Receive JSON POST with PHP

How to Receive JSON POST with PHP

We all know that $_POST is used to collect post data in PHP. That’s true. But when we try to get JSON post data using $_POST then it fails. Recently I was working on project and need to receive JSON POST with PHP. I had expected that JSON POST data in $_POST superglobal variable but … Read more

INSERT SELECT UPDATE AND DELETE WITH PDO

CRUD is most important thing in any programming language. After reading Programming basics ,we move to CRUD(create,read, update, delete). When we use MySQL database ,it is recommended to use PDO to secure web application from SQL injection. How to use mysqli_connect in PHP How to Setup MySQL Connection Using PDO in PHP In this tutorial, … Read more