Learning PHP and MySQL

Creating myapp/index.php

<?php require_once("smarty.php");
$smarty->assign('test',  '123');
$smarty->display('index.tpl');
?>

Posted by on 08/18 at 11:53 AM
  1. I downloaded smarty, but it seems to be a file for Linux only. Is this correct? Is there a msarty version for windows? Thanks much.

    Posted by  on  04/20  at  10:58 PM
  2. Page 1 of 1 pages

Next entry: Example 10-12 The sample index.tpl template to create

Previous entry: Example 10-11 The index.php file to create

<< Back to main