Skip to content


Export Data to CSV

How to Handle CSV with PHP: Read Write, Import Export with Database

  • by

CSV is one of the familiar file formats and used widely by programmers for handling data. The simplicity of the format and human readable form made it so popular. CSV stands for Comma-Separated Values. In earlier days, the delimiter was only a comma (,) and so the name CSV. Nowadays, CSV files use tab-demitted row data too. 

To handle CSV with PHP, we must be aware there is excellent support in-built with core PHP. Knowledge about those built-in library and functions will he handy in handling CSV files.

Few days before we have seen about  Split and Export into Multiple Excel Sheet Files using PHP.

Read More »How to Handle CSV with PHP: Read Write, Import Export with Database

jQuery AJAX Autocomplete – Country Example

  • by

Autocomplete feature is used to provide the auto suggestion for users while entering input. In this tutorial, we are going to suggest country names for the users based on the keyword they entered into the input field by using jQuery AJAX.

jQuery Autocomplete function is called on the key-up event of the input field. This function requests PHP for the list of countries via AJAX by sending the value of the input field. In PHP, it reads country names from the database that starts with the keyword entered by the user.

Read More »jQuery AJAX Autocomplete – Country Example