How to Insert Data into MySQL Database using jQuery / AJAX / PHP


Thank you to Satish B for this wonderful video. 

In this tutorial we will learn how to insert data into mysql database using PHP as server-side programming language, jQuery and Ajax. jQuery has an ajax method. In this tutorial we will be use jQuery method i.e., $.post() in form for inserting the records in to database.

We will use CodeLobster as text editor or you can use any text editor i.e. Dreamweaver etc.

Prerequisites:

Let’s get started.

  1. Open a text editor for example “CodeLobster”. Create a new file from” File > New > HTML” or press short key (Ctrl+N) and save this file as “index.html”. Go to…

View original post 456 more words

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s