Location: PHPKode > scripts > Magical 8 Ball > magical8ball/index.php
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
  <title>Magical 8 Ball</title>
	<link rel="stylesheet" href="answers/style.css" type="text/css" media="screen" />
	<link rel="shortcut icon" type="image/x-icon" href="./images/favicon.ico">
<!-- begin 8 ball generator -->
	<div id="container">
		<h1>I'm the Magical 8 Ball</h1>
		<a href="<?php $_SERVER['PHP_SELF']; ?>" title="Click me to start over again!"><img width="200px" src="http://www.magical8ball.com/images/magical-8-ball.jpg" alt="magical 8 ball"></a>
		<h2>Ask me questions. I'll give you answers.</h2>
			<div style="margin-top:-10px;">
			<form name="8ball" action="answers/magic-8-ball.php" onsubmit="magic-8-ball.php">
			<input id="questions" type="text" onfocus="if(this.value == '  Enter any question that can be answered by YES or NO') { this.value = ''; }" value="  Enter any question that can be answered by YES or NO" />
		<div style="margin-top:30px;">
		<a id="buttonlink" href="answers/magic-8-ball.php"><span id="submitbutton">submit</span></a>
<!-- end 8 ball generator -->
Return current item: Magical 8 Ball