Version: 1.01

Type: Full Script

Category: Other

License: Mozilla Public License

Description: World's Simplest Random Quote Generator that can be used in any PHP file within HTML elements. No mySQL database required.



<?php
###########################################################
###                                                     ###
###  Script created by Kat on 4/29/02                   ###
###  quotes.php Version 1.01                            ###
###  Free for anyone to use at any time for any reason. ###
###                                                     ###
###  Please do not contact me for any support.          ###
###                                                     ###
###########################################################
$quotes =array(	
	1=>"Quote One",	
	2=>"Quote Two",	
	3=>"Quote Three");
$max=3;
$random_number=rand(1, $max);
$random_quote=$quotes[$random_number];
echo("$random_quote");
?>