What I'm trying to do is set up a hyperlink to run a MySQL query when clicked.

Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<?php
	include'config.php';
	mysql_connect("$host", "$username", "$password") or die(mysql_error());
	mysql_select_db("$db_name") or die(mysql_error());
?>
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en">

	<head> 
		<link rel="stylesheet" href="Style.css" type="text/css" />
	</head>

	<body>
		<div class="menu">
			<ul>
				<li><a href="index.php">Home</a></li>

				<li> <a href="<?php $result=mysql_query("SELECT * FROM movies WHERE (Title='Page - Test1') "); ?>">Test1</a> </li>
			</ul>	
		</div>

		<?php
			while($row=mysql_fetch_array($result))
			{
				echo ''.$row['Page'].'';
			}
		?>

	</body> 
</html>