Tutorial Category


  1. PHP Data Objects

    By Priyanka Bansal tagged in data,Objects,PDO,php,PHP Data,PHP Data Objects,PHP Objects
    PHP Data Objects (PDO) PHP Data Objects, also known as PDO, is an interface for accessing databases in PHP/aithout tying code to a specific database. Rather than directly calling mysql_, mysqli_, and pg_ functions, developers can use the PDO interface, simplifying the porting of applications to other databases. Database Support The extension can support any database that a PDO driver has been written for. At the time of this writing, the following database drivers are available: PDO_DBLIB ( FreeTDS / Microsoft SQL Server...
  2. How to Implements HMVC in Codeiginiter 3.x

    By Shyam Awal tagged in codeIgniter,codeIgniter HMVC,hmvc,MVC
    codeIgniter HMVC is based on the Model-View-Controller development pattern. MVC is a software approach that separates application logic from presentation. In practice, it permits your web pages to contain minimal scripting since the presentation is separate from the PHP scripting. Most of the developers, from beginner to advance level know about codeigniter HMVC, because it's easy to used, great for small to large projects. Its fantastic and quick for creating your own CMS (Content Management System) and many web applications that you might want to...
  3. How to Update CodeIgniter 2.x to 3.x

    Update CodeIgniter.. CodeIgniter is a powerful PHP framework with a very small footprint, built for developers who need a simple and elegant toolkit to create full-featured web applications. 1: Overwrite SDK files You need the updated CodeIgniter files from the system/ directory. To do so, you can't simply copy/paste the folder. You will need to remove it (it would be a good idea to first do a backup just in case) and then copy the new one to the same destination. 2: Update Classes Names For this step all you have to do is to rename the CodeIgniter files...
  4. How To Setup CentOS WebPanel On A VPS

    This article will show you how to setup CentOS WebPanel on your Virtual Private Server -VPS. There are multiple alternatives available but I will focus on an easy approach and let you inspect the other options on your own. This article doe not show you what to do after you deployed the WebPanel. It will only point you to the next steps.
  5. Pagination Script using PHP PDO with jQuery

    By Salem chammam tagged in jquery,Pagination,PDO,php,script
    Introduction To Pagination Scripting In this tutorial we will cover HOW TO create a simple Pagination Script using PHP MySQL with jQuery. I'm going to use the "bootpag - jQuery plugin for dynamic pagination" . This plugin is easy to use and creates dynamic pagination with jQuery using PHP.  This really comes in handy when we have a number of records in a MySQL table, and they need to be paginated. First we need to create this file: -- index.php -- get_records.php -- dbconfig.php -- jquery.bootpag.min.js Database Design And Table Database : db_pagination Table : tutorials Copy paste the following mysql code...
  6. How To Do A PDO Query

    By Salem chammam tagged in database,FETCH,mysql,PDO,PDO Query,php
    Introduction to PDO Now that we can open and close a connection to the database with PDO, we can make use of it for what databases are made for, storing and retrieving information. The simplest form of query is the PDO query method. As the name suggests, this is used to perform database queries. Before we begin to query a database, lets create a small database with a table for animals. This will be a MySQL database for use throughout much of this tutorial. Remember, because PDO provides a common set...
  7. Introduction to PHP PDO (PHP Data Objects)

    By Priyanka Bansal tagged in PDO,php
    What is PDO (PHP Data Objects). The PHP Data Objects (PDO) extension defines a lightweight, consistent interface for accessing databases in PHP. Each database driver that implements the PDO PHP Data Objects interface can expose database-specific features as regular extension functions. Note that you cannot perform any database functions using the PDO PHP Data Objects extension by itself; you must use a database-specific PDO driver to access a database server. PDO PHP Data Objects provides a data-access abstraction layer, which means that, regardless of which database you're using, you use the same functions to issue queries and fetch data. PDO does...