Location: PHPKode > projects > Matt's March Madness > trunk/admin/rules.php
include 'functions.php';

$query = "SELECT rules FROM `meta`";
$rules = mysql_query($query,$db);
$rules = @mysql_fetch_array($rules);
	<div id="main">
		<div class="full">
			<form method="post" action="post.php?action=rules">
			<p>You may enter whatever rules you would like.  They will appear on the rules page exactly as you type them here.</p>
			<p>I recommend at least including your submission deadline and your contact information.</p>
					<td><textarea name="rules"><?php echo $rules[0]; ?></textarea></td>
					<td align="center"><input type="submit" value="Submit!"/></td>
Return current item: Matt's March Madness