All pastes #245384 Raw Edit

Anonymous

public text v1 · immutable
#245384 ·published 2006-11-10 22:49 UTC
rendered paste body
<form action="admin.php" method="post">
	<table>
		<tr>
			<th colspan="2">Remove Team</td>
		</tr>

		<tr>
			<td>Team Tag</td>
			<td>
				<select value="tid">
<?php
	$sql = new SQL();
	$sql->connect('kok_ncsl3');
	$result = $sql->query("SELECT tid, tag FROM team ORDER BY tag");

	while ($row = mysql_fetch_array($result)) {
		echo "<option value=\"{$row['tid']}\">{$row['tag']}</option>";
	}
	$sql->close();
?>
				</select>
			</td>
		</tr>

		<tr>
			<td></td>
			<td><input type="submit" value="Remove" /></td>
			</tr>
	</table>
	<input type="hidden" name="action" value="removeTeam" />
</form>