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 kumar mcmillan  >  randomWord  >  example.php  >  Download  
File: example.php
Role: ???
Content type: text/plain
Description: simple example
Class: randomWord
makes a random 'readable' word (example: Huchafo!)
Author: By
Last change:
Date: 12 years ago
Size: 257 bytes
 

Contents

Class file image Download
<html>
<body>
<?php
require("class.randomWord.php");
$word = new randomWord();
$word->set("shoutIt",1);
$word->buildWord(7);
$word->addNumbers(3);

print $word->word;

?>
<br>
<br>
<a href="<?php echo $PHP_SELF; ?>">again</a>
</body>
</html>