Login   Register  
PHP Classes
elePHPant
Icontem

File: example.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Jay  >  Number To Amount Word  >  example.php  >  Download  
File: example.php
Role: Example script
Content type: text/plain
Description: Example FIle
Class: Number To Amount Word
Spell numbers with English words
Author: By
Last change:
Date: 2007-11-24 09:29
Size: 317 bytes
 

Contents

Class file image Download
<html>
<title>Example</title>
<body><form>
<input type="text" name="num">
<br>
<input type="submit" name="Convert" value="Convert">
<br>
<?php
include "NumToWord.class.php";
if(
$_REQUEST["Convert"] == "Convert")
{
$num = new NumberToWord($_REQUEST["num"]);
echo 
$num->word;
}
?></form>
</body>
</html>