Login   Register  
PHP Classes

File: example001.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Md. Shahadat Hossain Khan Razon  >  Log Writer and Reader  >  example001.php  >  Download  
File: example001.php
Role: Example script
Content type: text/plain
Description: Example # 01 PHP File
Class: Log Writer and Reader
Store and retrieve logs from a MySQL database
Author: By
Last change:
Date: 6 years ago
Size: 412 bytes


Class file image Download

include_once 'sql.cls.php';
$mysql=new sqlFunctions();
$lw=new myLogWriter();

//    assign it into a template variable.. here i perfer to use smarty
if(is_array($logs)) $tpl->assign('activitieslog',$logs);