Blog

Archive for the PHP 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


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


In PHP a Brief Explanation of Private Properties and Methods in Class
Posted on June 23, 2015 in OOP, PHP by Matt Jennings

<?php

class GrandPa
{
private $name = ‘Mark Henry’;
}

class Daddy extends GrandPa
{
function displayGrandPaName()

Read more


In PHP a Brief Explanation of Protected Properties and Methods in Class
Posted on June 23, 2015 in OOP, PHP by Matt Jennings

<?php

class GrandPa
{
protected $name = ‘Mark Henry’;
}

class Daddy extends GrandPa
{
function displayGrandPaName()

Read more