File: fwphp/glomodul/mkd/z_h.php

Recommend this page to a friend!
  Classes of Slavko Srakocic  >  B12 PHP FW  >  fwphp/glomodul/mkd/z_h.php  >  Download  
File: fwphp/glomodul/mkd/z_h.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: B12 PHP FW
Manage database records with a PDO CRUD interface
Author: By
Last change: ver 7.0.1 mnu, msg, mkd FUNCTIONAL namespaces, CRUD PDO trait, pretty URL-s
Date: 2 months ago
Size: 565 bytes
 

Contents

Class file image Download
<?php
/**
* J:\awww\www\fwphp\glomodul4\mkd\h.php
* I N C 1 IN T E M P L A T E IS P A G E C O N T E N T
* & somewhere in code we i n c l u d e m o d e l (i n c 2)
* ee dynamic data from DB & output them
*/
//CONTENT OF ?=__FILE__? = pge_content for tplt_layout.php

// m o d e l :
$mdl = $module_path . $script_to_include . '_M.php';
if (
file_exists($mdl)) include $mdl;

// V I E W 3 t e m p l a t e = container for code above : M, V1, V2 :
$template = $all_sites_glo_path .'tplt_layout.php' ; //=h.php (home tplt)
require $template ;

For more information send a message to info at phpclasses dot org.