Please, make sure to wrap your code.
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Hit Entry Search</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="style.css"/>
</head>
<body>
<?php
$user = JFactory::getUser();
$ses_id = $user->get('id');
?>
<form action="search.php" method="POST">
<input type="text" name="query" />
<input type="hidden" name="ses_id" value="sesid" />
<input type="submit" value="Search" />
</form>
</body>
</html>
The highlighted line in your code didn't have the
" and
"
Looking at your PHP I assume you are following a tutorial. i see you managed to change the DB log in credentials but I'm thinking maybe you overlooked this.
PHP Code:
mysql_select_db("mtu1225803133696") or die(mysql_error());
/* mtu1225803133696 is the name of database */
I'm sure I missed something, but maybe you can give those things a try.
Good luck.