quotesDebug.php

Source of quotesDebug.php

<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<title>quotesDebug</title>
</head>
<body>
<h1>Random Computer Quotes</h1>
<p>"
<?php

$theArray = array();

$theArray[] = "If at first you don't succeed; call it version 1.0 and ship it anyways...<br />";
$theArray[] = "Some things Man was never meant to know. For everything else, there's Google.<br />";
$theArray[] = "SUPERCOMPUTER: what it sounded like before you bought it.<br />";
$theArray[] = "My software never has bugs. It just develops random features.<br />";
$theArray[] = "If you give someone a program, you will frustrate them for a day; if you teach them how to program, you will frustrate them for a lifetime.<br />";
$theArray[] = "It is easier to change the specification to fit the program than vice versa.<br />";
$theArray[] = "Programmers are tools for converting caffeine into code.<br />";
$theArray[] = "Always program as if the person who will be maintaining your program is a violent psychopath that knows where you live.<br />";

$randNumber = rand(1,8);

print $theArray[$randNumber];

print "<br />Trying to get $randNumber in array:";
print_r($theArray);

?>
"</p>

<p><a href="quotesDebug.php">See Another!</a></p>

</body>
</html>