Login   Register  
PHP Classes
elePHPant
Icontem

File: tkconvert_eample.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of mahfuz  >  tkconvert  >  tkconvert_eample.php  >  Download  
File: tkconvert_eample.php
Role: Example script
Content type: text/plain
Description: tk convert class eample
Class: tkconvert
Spell Bangladesh amounts in English and Bengle
Author: By
Last change:
Date: 2007-07-15 00:04
Size: 766 bytes
 

Contents

Class file image Download
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Money Conversion in  Bengali Example</title>
<style type="text/css">
<!--
.style11 {font-family: Rupali}
-->
</style>

</head>
<body>
<span class="style11">
<?php

include "tkconvert.php";
//max suport 999999999999 0
$num 7896589;

$tc = & new tkconvert($num);

$tc->convert('bn');
$number $tc->getNum();
$d $tc->display();
echo 
"$number :<br> $d <br>";
?>
</span>
<?php 
$tc 
= & new tkconvert($num);
$tc->convert('en');
$d $tc->display();
echo 
$d;

?>

</body>
</html>