Parse error: syntax error, unexpected '$query' (T_VARIABLE) in c : <p>I am trying to upload information to a database. The page I created is a registration page where users can type in their email username and password. The below code is the database connection and upload code I have written. But I keep getting the above error. Can someone tell me what I am missing, please?</p>

<p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
<div class="snippet-code">
<pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;?php 

	$db_host=
	$db_username=
	$db_pass=
	$db_name=
	
	$connectToServer =mysqli_query($host,$db_username,$db_pass) or die("server problem");
	$selectDb =mysqli_select_db($connectToServer,$db_name) or die("database not found");

if(isset($_POST['submit'])) {
	$username=$_POST['username'];
	$email=$_POST['eml'];
	$password =$_POST['password'];
	
	if(!empty($username)&amp;&amp;!empty($email)&amp;&amp;!empty($password)) {
		$username = striplashes($username);
		$email=striplashes($email);
		$password=striplashes($password);
		$username = mysql_real_escape_string($connectToServer,$username);

		$selectTable = "SELECT * FROM user_info WHERE username='$username'"
		$query = mysqli_query($connectToServer,$selectTable);
		$insert = "INSERT INTO user_info (username, email, password) VALUES ($username, $eml, $password)"
		$mquery = mysqli_query($connectToServer,,$insert);
		if ($mquery) {
		session_start();
		$_SESSION['login_user'] =$username ; 
		header("Location ; profile.php");
		}
		
	}
	else {
		echo &lt;script&gt;('please enter details')&lt;/script&gt;;
		header("Location: register.html");
	}
}


?&gt;</code></pre>
</div>
</div>
</p>
