PHP read csv file into associative array In this tutorial we going to see to how to read single column multiple rows csv file as an array using php. In some case we need to read csv file and convert them into array and process data. simple PHP code to convert CSV to associative array.
Disable submit button when input fields is null or empty Validation is most important for all applications.we can disable submit button, till all fields get filled. Below code implemented to disable submit button,untill all input fields get filled.
MySQL query to search a table name from multiple databases If we are using multiple database,We will face problem on searching a particular table_name in phpmyadmin. While using this below query, we can find out easily either table is present or not in multiple tables.
How to convert xml into array in php In this tutorial we are going to see how to convert xml into array in php. In some case while calling external api calls,it gives the response as XML format at that we need to convert convert xml into array in php. SimpleXML is a PHP extension
How to Get Current Controller and Method Name in CodeIgniter In this tutorial,we see how to get current controller and method name in Codeigniter application. In some cases we need to get current controller name or current method name. It can do it simply by using $this->route variable of codeigniter. Fetch Current Class Name In Codeigniter
How to integrate google reCAPTCHA in PHP Googl reCAPTCHA is used to validate form submit in php.It is easy to integrate Google reCAPTCHA in PHP script. Using google reCAPTCHA in PHP users can prove they are human with single click. They need just a single click to confirm they are not a robot. So, reCAPTCHA
How to Setup Maintenance Mode in Codeigniter 3 Most of the application needs a maintenance mode to indicate the user,the application going through under maintenance. Here is the tutorial to setup the maintenance mode in codeigniter application. CodeIgniter’s Hooks give a feature to modify the core functionality without modifying the core codeIgniter files. We can
In this tutorial, we will see how to redirect website from http to https on Apache servers. Redirecting HTTP to HTTPS 1. Redirect All Web Traffic If you have existing code in your .htaccess, add the following: