PHP Classes

File: index.php

Recommend this page to a friend!
  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: 17 years ago
Size: 201 bytes


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