Login   Register  
PHP Classes
elePHPant
Icontem

File: example.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Marcus Brasizza  >  Bean Creator  >  example.php  >  Download  
File: example.php
Role: Example script
Content type: text/plain
Description: Example of how to use
Class: Bean Creator
Generate classes to access MySQL database tables
Author: By
Last change:
Date: 2012-11-05 06:43
Size: 280 bytes
 

Contents

Class file image Download
<?php
 
include_once('incs/generate.class.php');
 
$creator = new BeanCreator('127.0.0.1','root','noP4ss','','mysql'); 
 
$creator->selectTables(); // here you can put ('mytable') or (array('mytable','mytable2'))
 
$creator->save()->toZip();  // save and compress to ZIP file 
?>