Login   Register  
PHP Classes
elePHPant
Icontem

File: index.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Ashraf Gheith  >  Today's Joke  >  index.php  >  Download  
File: index.php
Role: Example script
Content type: text/plain
Description: Example file
Class: Today's Joke
Retrieve the today's joke from the jokes2go site
Author: By
Last change:
Date: 7 years ago
Size: 201 bytes
 

Contents

Class file image Download
<?php
include "class.joke.php";
$hs = new joke();
$h $hs->getJoke();
$h1 wordwrap($h30"<br />\n");
print 
"<(PodTitle text=\"Today's Joke\" link=\"\" )><br><b>Today's Joke:</b><br>$h1";
?>