Blog

Archive for the PHP Category


Post to a MySQL Database Using a jQuery AJAX Form with CodeIgniter
Posted on July 10, 2015 in AJAX, CodeIgniter, MVC, MySQL, PHP by Matt Jennings

<?php if ( ! defined(‘BASEPATH’)) exit(‘No direct script access allowed’);

class Quote extends CI_Model
{

public function all()

Read more


Delete a Database Row using CodeIgniter with Model, Controller, and View Code Examples
Posted on July 2, 2015 in CodeIgniter, MVC, MySQL, PHP by Matt Jennings

<?php
class UserDashboardModel extends CI_Model
{

// After admin is logged in
// delete user

Read more


Insert a User with Admin Privileges into a Database Using CodeIgniter with Model, Controller, and View Code Examples
Posted on July 2, 2015 in CodeIgniter, MVC, MySQL, PHP by Matt Jennings

<?php
class UserDashboardModel extends CI_Model
{

// After Admin is logged in insert user
public function …

Read more


Insert a Submitted User into a Database Using CodeIgniter with Model, Controller, and View Code Examples
Posted on July 2, 2015 in CodeIgniter, MVC, MySQL, PHP by Matt Jennings

<?php
class UserDashboardModel extends CI_Model
{

// Registration form insert user
public function insert_user($post_data)

Read more


Check a Submitted Email Against a Database Table to Ensure it hasn’t Already Been Added using CodeIgniter with Model, Controller, and View Code Examples
Posted on July 2, 2015 in CodeIgniter, MVC, MySQL, PHP by Matt Jennings

<?php
class UserDashboardModel extends CI_Model
{

// Check login email against
// users table in database …

Read more

To Top ↑