How to get data from database in JSON format using Ajax and PHP

How to get data from database in JSON format using Ajax and PHP

  •  
  •  
  •  
  •  
  •  
  •  

  Tweet    A very common use of JSON is to read data from a web server and then display these data into a web page. JSON is text, so when we want to exchange text as data between a browser and web server we can use JSON. In this tutorial, I will teach you how to get […]

How to insert JSON data into MySQL database using PHP

How to insert JSON data into MySQL database using PHP

  •  
  •  
  •  
  •  
  •  
  •  

  Tweet    In this tutorial, I will show you how to insert JSON data into MySQL database using PHP. In JSON file we can store huge amount of data in an array format. So that, sometimes you need to store these JSON data into the database. Please follow the below simple PHP script which will guide you about […]

Populate multiple dropdown lists using Ajax, jQuery, PHP and MySQL

Populate multiple dropdown lists using Ajax, jQuery, PHP and MySQL

  •  
  •  
  •  
  •  
  •  
  •  

  Tweet    Some readers often asking me how to generate or populate more than one dropdown list or multiple select boxes using Ajax. So, In this tutorial, I will show you how to generate or populate multiple dropdown lists using Ajax, jQuery, PHP, and MySQL. Let’s think a situation where the user has to submit a form […]