Login   Register  
PHP Classes
elePHPant
Icontem

File: efm/makecustom.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Jorge Prado  >  My Rad 4 PHP  >  efm/makecustom.php  >  Download  
File: efm/makecustom.php
Role: Configuration script
Content type: text/plain
Description: Configuration script
Class: My Rad 4 PHP
Generate PHP class from MySQL table
Author: By
Last change:
Date: 2013-03-18 13:32
Size: 398 bytes
 

Contents

Class file image Download
<?php
    
include("../config/setings.php");
    include(
"../config/setup.php");
    
$smarty = new Smarty_myrad4php();
    
$dc = new datacontex();
    
$atablas = array();

    foreach(
$dc->tablas as $tabla)
    {
        
$atablas[]=$tabla->nomtabla;
    }  
    
$smarty->assign("atablas",$atablas);
    
    
$err=array();
    
$smarty->assign("error",$err);
    
$smarty->display('makecustom.tpl');
?>