MySQL SELECT Statement with PHP

MySQL SELECT statement selects records from MySQL database. We can execute SELECT statement in PHP and get desired results.

Simple Ajax Contact Form Using jQuery & PHP

In this tutorial, we will be creating a simple Ajax-based Contact form using jQuery and PHP. Why Ajax? because your visitors don’t have to reload the page in order to send you email, they can simply click send button and the email gets sent instantly before their eyes, so it’s just fantastic, no more page reloads!

Enable error reporting in PHP file

Many hosting companies by default disables any PHP error reporting for security purpose, because it displays all the vital information and root server path. Which is certainly not a good idea and it might interest some curious and naughty people.

MySQL INSERT Statement with PHP

MySQL INSERT statement inserts record in MySQL database table. We can execute INSERT statement using PHP to insert new records in the database table. For this let’s  create a demo table in MySQL database, Copy following MySQL code in your PhpMyAdmin. It will create a table name demotable with 4 columns: id (Auto increment), name, email and phone number, and inserts some records for the demo.