A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property CI_URI::$config is deprecated

Filename: core/URI.php

Line Number: 101

Backtrace:

File: /var/www/html/ci-demo/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property CI_Router::$uri is deprecated

Filename: core/Router.php

Line Number: 127

Backtrace:

File: /var/www/html/ci-demo/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Export::$benchmark is deprecated

Filename: core/Controller.php

Line Number: 75

Backtrace:

File: /var/www/html/ci-demo/application/controllers/Export.php
Line: 8
Function: __construct

File: /var/www/html/ci-demo/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Export::$hooks is deprecated

Filename: core/Controller.php

Line Number: 75

Backtrace:

File: /var/www/html/ci-demo/application/controllers/Export.php
Line: 8
Function: __construct

File: /var/www/html/ci-demo/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Export::$config is deprecated

Filename: core/Controller.php

Line Number: 75

Backtrace:

File: /var/www/html/ci-demo/application/controllers/Export.php
Line: 8
Function: __construct

File: /var/www/html/ci-demo/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Export::$log is deprecated

Filename: core/Controller.php

Line Number: 75

Backtrace:

File: /var/www/html/ci-demo/application/controllers/Export.php
Line: 8
Function: __construct

File: /var/www/html/ci-demo/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Export::$utf8 is deprecated

Filename: core/Controller.php

Line Number: 75

Backtrace:

File: /var/www/html/ci-demo/application/controllers/Export.php
Line: 8
Function: __construct

File: /var/www/html/ci-demo/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Export::$uri is deprecated

Filename: core/Controller.php

Line Number: 75

Backtrace:

File: /var/www/html/ci-demo/application/controllers/Export.php
Line: 8
Function: __construct

File: /var/www/html/ci-demo/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Export::$exceptions is deprecated

Filename: core/Controller.php

Line Number: 75

Backtrace:

File: /var/www/html/ci-demo/application/controllers/Export.php
Line: 8
Function: __construct

File: /var/www/html/ci-demo/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Export::$router is deprecated

Filename: core/Controller.php

Line Number: 75

Backtrace:

File: /var/www/html/ci-demo/application/controllers/Export.php
Line: 8
Function: __construct

File: /var/www/html/ci-demo/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Export::$output is deprecated

Filename: core/Controller.php

Line Number: 75

Backtrace:

File: /var/www/html/ci-demo/application/controllers/Export.php
Line: 8
Function: __construct

File: /var/www/html/ci-demo/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Export::$security is deprecated

Filename: core/Controller.php

Line Number: 75

Backtrace:

File: /var/www/html/ci-demo/application/controllers/Export.php
Line: 8
Function: __construct

File: /var/www/html/ci-demo/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Export::$input is deprecated

Filename: core/Controller.php

Line Number: 75

Backtrace:

File: /var/www/html/ci-demo/application/controllers/Export.php
Line: 8
Function: __construct

File: /var/www/html/ci-demo/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Export::$lang is deprecated

Filename: core/Controller.php

Line Number: 75

Backtrace:

File: /var/www/html/ci-demo/application/controllers/Export.php
Line: 8
Function: __construct

File: /var/www/html/ci-demo/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Export::$load is deprecated

Filename: core/Controller.php

Line Number: 78

Backtrace:

File: /var/www/html/ci-demo/application/controllers/Export.php
Line: 8
Function: __construct

File: /var/www/html/ci-demo/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Export::$db is deprecated

Filename: core/Loader.php

Line Number: 396

Backtrace:

File: /var/www/html/ci-demo/application/models/Export_model.php
Line: 8
Function: database

File: /var/www/html/ci-demo/application/controllers/Export.php
Line: 10
Function: model

File: /var/www/html/ci-demo/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property CI_DB_mysqli_driver::$failover is deprecated

Filename: database/DB_driver.php

Line Number: 371

Backtrace:

File: /var/www/html/ci-demo/application/models/Export_model.php
Line: 8
Function: database

File: /var/www/html/ci-demo/application/controllers/Export.php
Line: 10
Function: model

File: /var/www/html/ci-demo/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Export::$export is deprecated

Filename: core/Loader.php

Line Number: 358

Backtrace:

File: /var/www/html/ci-demo/application/controllers/Export.php
Line: 10
Function: model

File: /var/www/html/ci-demo/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property CI_Loader::$benchmark is deprecated

Filename: core/Loader.php

Line Number: 931

Backtrace:

File: /var/www/html/ci-demo/application/controllers/Export.php
Line: 15
Function: view

File: /var/www/html/ci-demo/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property CI_Loader::$hooks is deprecated

Filename: core/Loader.php

Line Number: 931

Backtrace:

File: /var/www/html/ci-demo/application/controllers/Export.php
Line: 15
Function: view

File: /var/www/html/ci-demo/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property CI_Loader::$config is deprecated

Filename: core/Loader.php

Line Number: 931

Backtrace:

File: /var/www/html/ci-demo/application/controllers/Export.php
Line: 15
Function: view

File: /var/www/html/ci-demo/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property CI_Loader::$log is deprecated

Filename: core/Loader.php

Line Number: 931

Backtrace:

File: /var/www/html/ci-demo/application/controllers/Export.php
Line: 15
Function: view

File: /var/www/html/ci-demo/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property CI_Loader::$utf8 is deprecated

Filename: core/Loader.php

Line Number: 931

Backtrace:

File: /var/www/html/ci-demo/application/controllers/Export.php
Line: 15
Function: view

File: /var/www/html/ci-demo/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property CI_Loader::$uri is deprecated

Filename: core/Loader.php

Line Number: 931

Backtrace:

File: /var/www/html/ci-demo/application/controllers/Export.php
Line: 15
Function: view

File: /var/www/html/ci-demo/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property CI_Loader::$exceptions is deprecated

Filename: core/Loader.php

Line Number: 931

Backtrace:

File: /var/www/html/ci-demo/application/controllers/Export.php
Line: 15
Function: view

File: /var/www/html/ci-demo/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property CI_Loader::$router is deprecated

Filename: core/Loader.php

Line Number: 931

Backtrace:

File: /var/www/html/ci-demo/application/controllers/Export.php
Line: 15
Function: view

File: /var/www/html/ci-demo/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property CI_Loader::$output is deprecated

Filename: core/Loader.php

Line Number: 931

Backtrace:

File: /var/www/html/ci-demo/application/controllers/Export.php
Line: 15
Function: view

File: /var/www/html/ci-demo/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property CI_Loader::$security is deprecated

Filename: core/Loader.php

Line Number: 931

Backtrace:

File: /var/www/html/ci-demo/application/controllers/Export.php
Line: 15
Function: view

File: /var/www/html/ci-demo/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property CI_Loader::$input is deprecated

Filename: core/Loader.php

Line Number: 931

Backtrace:

File: /var/www/html/ci-demo/application/controllers/Export.php
Line: 15
Function: view

File: /var/www/html/ci-demo/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property CI_Loader::$lang is deprecated

Filename: core/Loader.php

Line Number: 931

Backtrace:

File: /var/www/html/ci-demo/application/controllers/Export.php
Line: 15
Function: view

File: /var/www/html/ci-demo/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property CI_Loader::$load is deprecated

Filename: core/Loader.php

Line Number: 931

Backtrace:

File: /var/www/html/ci-demo/application/controllers/Export.php
Line: 15
Function: view

File: /var/www/html/ci-demo/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property CI_Loader::$db is deprecated

Filename: core/Loader.php

Line Number: 931

Backtrace:

File: /var/www/html/ci-demo/application/controllers/Export.php
Line: 15
Function: view

File: /var/www/html/ci-demo/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property CI_Loader::$export is deprecated

Filename: core/Loader.php

Line Number: 931

Backtrace:

File: /var/www/html/ci-demo/application/controllers/Export.php
Line: 15
Function: view

File: /var/www/html/ci-demo/index.php
Line: 315
Function: require_once

Codeigniter Export Example
First Name Last Name Email DOB Contact Name
Team test [email protected] 21-02-2011 9000000001
Admin second [email protected] 21-02-2011 9000000002
User third [email protected] 21-02-2011 9000000003
Editor fouth [email protected] 21-02-2011 9000000004
Writer fifth [email protected] 21-02-2011 9000000005
Contact sixth [email protected] 21-02-2011 9000000006
Manager seven [email protected] 21-02-2011 9000000007
Export Data