In this post, I will share with you, how to convert PHP array into a string, An array is a special symbol, which stores multiple values at a time. in this following example in implode() function help through converting the array into a string. so, the implode() function return string into an array. whenever the need to array converts into the string at the time this post help through array convert into strings.
 XpertPhp
 05 - Jun - 2018
 192
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 demonstrate how to connect PHP with MySQL, We hope you can learn something new from this tutorial. in our post through how to connect PHP to MySQL, create a new record, fetch a record, update record and delete the record.
 XpertPhp
 03 - Jun - 2018
 515
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() CodeIgniter function returns the last inserting id from Mysql database. Sometimes, when you need to insert a record of one table to another table at that time use insert_id function. We hope you can learn something from this post.
 XpertPhp
 02 - Jun - 2018
 118
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 from database In case you used of CodeIgniter function order_by, limit, get and row. it functions help to get a single row of the result. See below the example of getting the last record from MySQL using CodeIgniter.
 XpertPhp
 02 - Jun - 2018
 167
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 to create sitemap URL and pass it in the view file.
 XpertPhp
 02 - Jun - 2018
 290
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 preg_replace. So, its function will remove any special character except letter and numbers.
 XpertPhp
 02 - Jun - 2018
 103
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 arguments first is "offset" and the second is the "end". end means a number of records returned from the database. I have share post next and previous button with code in this tutorial and I hope it will be helping you. below example in 3 records displayed per page.
 XpertPhp
 03 - Jun - 2018
 91
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 takes two arguments first is "offset" and the second is the "end". end means a number of records returned from the database. I have share post next and previous button with code in this tutorial and I hope it will be helping you. below example in 3 records displayed per page.
 XpertPhp
 03 - Jun - 2018
 73
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 connect the MySQL database then after creating CRUD operation in Codeigniter. in our post through, We will go how to connect CodeIgniter to MySQL and perform the CRUD operation.
 XpertPhp
 04 - Jun - 2018
 70
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. there is two connection of the following example for CodeIgniter. first is by default CodeIgniter provide and we will create a second connection. change the database name, database username, and database password in the second connection. see below example.
 XpertPhp
 05 - Jun - 2018
 102
Connect With Facebook