I'm having trouble on the line that is marked below, I did everything and could not solve. Could someone help me?
<?php
$conexao = mysqli_connect("localhost", "root", "", "banco") or die(mysql_error);
if(isset($_POST['email']) && isset($_POST['senha']))
{
$email = $_POST['email'];
$senha = $_POST['senha'];
$get = mysqli_query($conexao, "SELECT * FROM usuarios WHERE email = '$email' AND senha = '$senha'");
$num = mysqli_num_rows($get);
if($num == 1){
whlie($percorer = mysqli_fetch_array($get)){
$adm = $percorer ['adm']; // o ERRO ESTÁ AQUI
if($adm == 1){
echo 'Usuario admistrador';
}else{
echo 'Usuario Normal'; }
}
}else{
echo 'O email ou senha digitado estão errado.';
}
}
?>
ERROR:
syntax error, unexpected ';'