The explode() function is used to split a string. sometimes required to convert a string into PHP array. I'll tell how to use it with examples PHP explode(). explode() function used when we need to split a string using a specific character or string present in that string. Syntax. explode(separator,string,li...
 XpertPhp
  09 - Jun - 2018
 653
CodeIgniter is MVC based PHP framework, CodeIgniter in possible to multiple database connections. if you want to connect multiple databases in CodeIgniter then open the database.php file. this configuration file available in the array format so you have to do it second database in an array configuration. ther...
 XpertPhp
  05 - Jun - 2018
 1208
In this tutorial, I will inform you how to perform crud operation in CodeIgniter. CRUD stands for create, read, update and delete. if you create a user-friendly website at that time need to crud operation. if you want to create CRUD operation in CodeIgniter, then the first configuration of the database and c...
 XpertPhp
  04 - Jun - 2018
 716
In this tutorial, I will inform you How to create Pagination with Codeigniter and MySql. Pagination means document content dividing into multiple pages. whenever we have one long page at that time we dividing into multiple pages. if you want to create pagination using MySQL at that time use limit clause, it t...
 XpertPhp
  03 - Jun - 2018
 532
In this tutorial, I will inform you How to create Pagination with PHP and MySql. Pagination means document content dividing into multiple pages. whenever we have one long page at that time we dividing into multiple pages. if you want to create pagination using MySQL at that time use limit clause, it takes two...
 XpertPhp
  03 - Jun - 2018
 489
some data that contains special characters (e.g. single quote, double quote. special characters removed from a string using the preg_replace function. In this tutorial, I will inform you how to remove the special character from string in PHP. we want to remove all special characters from the string by using ...
 XpertPhp
  02 - Jun - 2018
 468
A sitemap is described navigate of the website. users can easily search to navigate the site by sitemap. it is creating in the XML coding. we have given below example of how to create dynamic XML sitemap using Codeigniter. Add the below code in your controller file and Get the data from the database you want ...
 XpertPhp
  02 - Jun - 2018
 2202
In this tutorial, I will inform you how to get the last record from the MySQL table in CodeIgniter. we need sometimes the last record in MySQL using CodeIgniter. Codeigniter's provide Active record library, its library used to get the last record in MySQL and see below example. if you want to get last record...
 XpertPhp
  02 - Jun - 2018
 609
When we had fetched the last inserted ID into PHP, we were used to last auto -increment id. but CodeIgniter has provided an insert query (active record style) used to get last insert id. In this Tutorial, I will inform you how to get last inserted id from the table in CodeIgniter. Generally, the insert_id() C...
 XpertPhp
  02 - Jun - 2018
 674
PHP CRUD means Create, edit, update and delete. PHP is a server-side programing language, generally, it is stored data in the MySQL database. whenever you start php crud that time will have compulsory required database connectivity using php. We will go through steps of a creating PHP CRUD post. We want to d...
 XpertPhp
  03 - Jun - 2018
 1227