Blog

Archive for the MVC Category


Creating a Counter using CodeIgniter
Posted on June 26, 2015 in CodeIgniter, MVC, PHP by Matt Jennings

<?php
// If counter session variable is set,

Read more


$_POST Data and the XSS Filter Using CodeIgnitor
Posted on June 25, 2015 in CodeIgniter, MVC, PHP by Matt Jennings

<?php
$config[‘global_xss_filtering’] = TRUE;
?>

<?php
if ( ! isset($_POST[‘something’]))
{
$something = FALSE;
}
else
{
// Uses the XSS filter in the config.php file

Read more


How to Pass Data from an Array in a Controller to a View in CodeIgniter
Posted on June 25, 2015 in CodeIgniter, MVC, PHP by Matt Jennings

<?php
class Test extends CI_Controller
{
public function hello()
{

Read more


How to Call Views in CodeIgniter
Posted on June 25, 2015 in CodeIgniter, MVC, PHP by Matt Jennings

<?php
class Test extends CI_Controller
{
public function hello()
{

Read more


A Basic Explanation of the MVC Framework Using the Codeigniter PHP Framework as an Example
Posted on June 24, 2015 in CodeIgniter, MVC, PHP by Matt Jennings

In the CodeIgniter PHP MVC framework files:

All or most files dealing with data or database(s) go into a …

Read more

To Top ↑