Login   Register  
PHP Classes
elePHPant
Icontem

File: demos/demo2.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Giovanni Ramos  >  PDO4You  >  demos/demo2.php  >  Download  
File: demos/demo2.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PDO4You
Access SQL databases using the PDO extension
Author: By
Last change: Refactory full
Date: 10 months ago
Size: 415 bytes
 

Contents

Class file image Download
<?php
// Loading demo class
require 'DemoCRUD.php';

// Example with Insert, Update and Delete
echo '<h2><a href=".">DEMOS</a> &rsaquo; INSERT/UPDATE/DELETE</h2>';

// Creating an instance
$demo = new DemoCRUD;

// Example with inserting multiple records
$demo->multipleInsert();

// Example to update multiple records
$demo->multipleUpdate();

// Example with multiple exclusion of records
$demo->multipleDelete();