PHP Classes

File: demos/DemoStringQueryCreator.php

Recommend this page to a friend!
  Classes of Rene Gonzalez   PHP HTML Components   demos/DemoStringQueryCreator.php   Download  
File: demos/DemoStringQueryCreator.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP HTML Components
Generate HTML elements linked to database data
Author: By
Last change:
Date: 4 years ago
Size: 267 bytes
 

Contents

Class file image Download
<?php

require_once '../StringQueryCreator.php';

$sqc = new StringQueryCreator();

$sqc->setTABLE("usuarios");
$sqc->setFIELDS("col1, col2, col3");
$sqc->setVALUES("'Cadena', 5, 'Otra cadena'");
$sqc->setWHERE("col1 = 'Cadena'");

echo
$sqc->CreateUpdateString();