PHP Classes

File: InsertExample.php

Recommend this page to a friend!
  Classes of Fernando Alls   Easy DB Work   InsertExample.php   Download  
File: InsertExample.php
Role: Example script
Content type: text/plain
Description: Insert
Class: Easy DB Work
Execute MySQL queries using parameter lists
Author: By
Last change:
Date: 11 years ago
Size: 343 bytes
 

Contents

Class file image Download
<?php
require_once('connection/Config.class.php');
require_once(
'edwCore.class.php');

$db = new edwCore();
 
 
 
$data = array(
  
'id' => '',
  
'name' => 'Luiz Fernando Alves dos Anjos',
  
'email' => 'fernandoguaiba@gmail.com',
  
'fone' => 'xxxx-xxxx'
 
 
);
 
$db->insert('contact', $data);

 echo
$db->CallBack;
?>