<?php
error_reporting(E_ALL);
ini_set('display_errors', 1);
require_once('tmx.php');
$tmx = new tmx('test_1.xml', 'en');
$t = array();
$t = $tmx->getResource();
echo $t['hello'];
#$cache->cache_remove('en'); //if we want to delete cached file
#echo $tmx->resource['hello']; //another way to access file resource
?>
|