PHP Classes

File: example.php

Recommend this page to a friend!
  Classes of bas   Number2Words   example.php   Download  
File: example.php
Role: Example script
Content type: text/plain
Description: example
Class: Number2Words
Spell a number using English words
Author: By
Last change:
Date: 17 years ago
Size: 592 bytes


Class file image Download
$numStr = &new Number2Word($_POST['number']);
$number = $_POST['number'];
        <form name="frm" action="<?php echo $_SERVER['PHP_SELF']?>" method="post">
        <table border="0" cellpadding="0" cellspacing="0">
                <td>Enter the number</td>
                <td><input type="text" name="number" value="<?=$number?>"></td>
                <td colspan="2"><input type="submit" value="Convert"></td>