Insert data using ajax into mysql database

This example will guide you how to insert data into mysql database using AJAX and PHP. Follow the below steps : 1). Create a file named ‘form.php’ and copy and paste the below code into it.

2). Create a new file named ‘insertdata.php’, copy and paste the below code into it. This is the […]

Read More

PHP code to upload any file

PHP code to upload any file. For this please follow simple instructions below: Create a directory named upload : This is the directory/folder where file is uploading. If you are using Linux/Ubuntu, please give write permission to the upload directory/folder after creating it. This code supported in most of the browsers. Just copy the below […]

Read More