Json for php image
The results are in! See what nearly 90, developers picked as their most loved, dreaded, and desired coding languages and more in the Developer Survey. A common use of JSON is to read data from a web server, and display the data in a web page. This chapter will teach you how to exchange JSON data between the client and a PHP server. I want to add an image file into json object. Is it possible to add image file into json object? I tried below code but its not working? Because i want to send that json object to the server then server will read my image file and store into that database.