ontbrekende verbindingsvariabele $con
$query=mysqli_prepare($con,"select user_id from users where user_name= ? and
password= ? ");
en verander dit ook
$query->bind_Param("ss", $unsafe_username, $unsafe_password);
^^^
ontbrekende verbindingsvariabele $con
$query=mysqli_prepare($con,"select user_id from users where user_name= ? and
password= ? ");
en verander dit ook
$query->bind_Param("ss", $unsafe_username, $unsafe_password);
^^^