The php file connects to the database and I can do it, the problem is in the results chains of the script, since it is not well designed or it does not give me the value of id corresponding to username and password.
I think the error is here cause that echo dont do nothing
$qz = "SELECT id FROM members where username='".$username."' and password='".$password."'" ;
$qz = str_replace("\'","",$qz);
$result = mysqli_query($con,$qz);
while($row = mysqli_fetch_array($result))
{
echo $row['id'];
}
mysqli_close($con);
?>