Try to join the tables but you can not here the code of the sentence
$consulta = "SELECT * FROM usuario AS u, materiales AS m WHERE ";
$resultado = $conexion->query($consulta) OR DIE("Error al Ejecutar Consulta de Usuario y Materiales".mysqli_error($conexion) );