PHP Classes
elePHPant
Icontem

MadLibs: Add a 'madlibs' game to your Web site.

Recommend this page to a friend!
  Info   View files View files (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2003-09-03 (13 years ago) RSS 2.0 feedNot enough user ratingsTotal: 864 All time: 3,891 This week: 904Up
Version License Categories
madlibs 1.0Free for non-comm...Games, Content management
Description Author

This class allows you to easily add a madlibs game to your Web site.

You can load the madlib stories in via the file system or a database.

The stories are chosen at random, and a form will be shown to the user to fill in their own words.

You can use a few css styles to control how things look (madlibTable, madlibTitle, madlibStory, and madlibWord).

Picture of Andrew Collington
  Performance   Level  
Name: Andrew Collington <contact>
Classes: 13 packages by
Country: United Kingdom United Kingdom

  Files folder image Files  
File Role Description
Plain text file class.madlibs.php Class The main class file
Accessible without login Plain text file example-story-beach.txt Data An example of a story file if you coose to use the file system to store your stories.
Accessible without login Plain text file example-story-mall.txt Data An example of a story file if you coose to use the file system to store your stories.
Accessible without login Plain text file schema.sql Data An example of the MySQL schema and data for if you choose to use a database to store your stories.
Accessible without login Plain text file test.madlibs.php Example An example of using the class

 Version Control Unique User Downloads Download Rankings  
 0%
Total:864
This week:0
All time:3,891
This week:904Up