PHP Classes

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    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 873 All time: 4,024 This week: 124Up
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: 16 packages by
Country: United Kingdom
Age: 49
All time rank: 563 in United Kingdom
Week rank: 312 Down8 in United Kingdom Down
Innovation award
Innovation award
Nominee: 3x

  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:873
This week:0
All time:4,024
This week:124Up