PHP Classes

File: examples/sql/example_insert.php

Recommend this page to a friend!
  Classes of Haseeb Ahmad Basil   PHP Skeleton Framework   examples/sql/example_insert.php   Download  
File: examples/sql/example_insert.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP Skeleton Framework
Extensive Web application development framework
Author: By
Last change:
Date: 8 years ago
Size: 314 bytes
 

Contents

Class file image Download
<?php
include 'config.php';

$values = array(
    array(
'foo'=>'Boo', 'bar'=>'Ca\'r', 'baz'=>'Caz'),
    array(
'goo'=>'Goo', 'gar'=>'Ga\'r', 'gaz'=>'Gaz'),
    );
$insert = new A_Sql_Insert();
$insert->table('mytable')->values($values);
echo
"A_Sql_Insert::render=" . $insert->render() . '<br/>';

dump($insert);