rendered paste body<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head> <title>Add New Age Rating</title> <meta http-quiv="content-type" content="text/html; charset=iso-8859-1" /></head><body><h1> Add Age Rating </h1><?php// require($_SERVER["DOCUMENT_ROOT"] . "/includes/configure.php"); $dbcnx = @mysql_connect($host,$user,$pass) or die ("Couldn't connect to the database server"); $db = mysql_select_db($dbname,$dbcnx) or die ("Couldn't select the database");if (!empty($_POST)) { $gameagerating = empty($_POST['gameagerating']) ? '' : mysql_real_escape_string($_POST['gameagerating']); $query = "INSERT INTO videogames (gameagerating) " "VALUES ('" . $gameagerating . "')"; }?><form action="<?php $_SERVER['REQUEST_URI'] ?>" method="post"> <label for="gameagerating"> Age Rating: </label> <input type="text" id="gameagerating" name="gameagerating"> <input type="submit" name="submit"></form></body></html>