PHP Classes

File: example.php

Recommend this page to a friend!
  Classes of Arash Moslehi   NumPer   example.php   Download  
File: example.php
Role: Example script
Content type: text/plain
Description: Example
Class: NumPer
Spell numbers in the Persian idiom
Author: By
Last change:
Date: 18 years ago
Size: 420 bytes


Class file image Download
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<form method="get" action="example.php">
Number : <input name="no">&nbsp;
<input type="submit" value="Persian">

if (!empty(
$number = $_GET["no"];
// All you need to insert in your script is :
$numper = new NumPer;
$numper->Number = $number;