PHP Classes
elePHPant
Icontem

File: Example-1.php

Recommend this page to a friend!
  Classes of Jake Bown  >  PHP Multilang  >  Example-1.php  >  Download  
File: Example-1.php
Role: Example script
Content type: text/plain
Description: Example #1
Class: PHP Multilang
Get translated application texts for languages
Author: By
Last change: Extension added
Date: 4 years ago
Size: 275 bytes
 

Contents

Class file image Download
<?php include("multilang.php"); $i = new multilang("en"); ?>
<!DOCTYPE html>
<meta charset="UTF-8">
<html>
<head>
    <title>Simple Translate</title>
</head>
<body>
<h1><?= $i->say("example_header"); ?></h1>
<p><?= $i->say("heading_summary"); ?></p>

</body>
</html>