Category Archives: PHP

Create RSS Feed Reader Using PHP and Jquery

In this tutorial, you can create simple RSS reader with help of PHP and Jquery. RSS reader will fetch the latest contents from the webpage using the feed url. To get the RSS (Rich Site Summary), you

jQuery Ajax Based Country, State and City List

In this tutorial, you can populate dynamic list of state and city with the help of jQuery and ajax. By default country drop down is displayed. When you will select country from the list, State drop down

jQuery – Add/Remove Dynamic Form Fields in PHP

In this tutorial, you can add/remove dynamic form fields with the help of javaScript/jQuery. We start with single Input row and a “Add Row” button to allow user to add more rows. When clicks on the “Add

PHP – Login Attempts Limit

In this tutorial I am explaining how to restrict the login after 3 unsuccessful login attempts. After 3 unsuccessful login attempts the user will be banned for next 10 minutes. After the given time period the user

PHP – Import .sql File in mySQL Database

Implemented php script which is imported mysql file into the database. Copy and paste below php script into a file. Save this file. (Example – import.php). Replaced techguru_data.sql file name with your file name. Run import.php on

jQuery – Form Validation Using jQuery Validate Plugin

Implemented a simple HTML5 Contact us form with the help of jQuery Validate plugin. jQuery validate plugin validate the from when submit button is clicked. If form fields are not empty then form is submitted successfully and

PHP – Send Secure E-Mails to Stop E-Mail Injections

Created and implemented a PHP Filter Function which will Stop E-mail Injections. To stop e-mail injections I have added an input validator that checks the “email” field when the form is submitted. Filters are used in PHP

PHP – Filter Data to Prevent MySQL Injection Attacks

I have created a data filter function to prevent SQL Injection. This function will filter all the parameters before adding into the MySQL. This function escapes all the characters with slashes like single quotes and double quotes

Simple Items Listing with PHP, MySQL, jQuery, jQuery UI, Ajax & CSS3

Simple Ajax based item list with PHP, MySQL and jQuery. In this process, added PHP OOPS capability with jQuery UI and implemented jQuery Ajax functionality. It is very user friendly. Any one can create, edit, delete and

Delete a value from comma separated list

Delete a user id from Php Comma separated values array saved in MySQL. Use array_search function to delete the user id and it will delete the user id from the comma separated values with the help of