What do you want to save?
Add Code snippet
New code examples
-
PHP 2021-10-15 02:03:05
chart.js - getting data from database using mysql and php
Please place your php code into another file called api.php and use $.ajax to get these data with JSON format. To convert data into JSON format data you should use json_encode() php function. I have set sample example you can see here. Please refer belo... Add solution -
Javascript 2021-10-02 04:20:04
How to pass json format data on ajax call
BY LOVE 1- Pass the JSON format data in this way data: { "str1": "Love", "str2": "Singh" } 2- You can use JSON.Stringfy function also var employee = { Id: 101, Name: "Love singh" }; data: JSON.stringify... Add solution