Skip to main content
2 de 3
Cambiar los campos por los requeridos a su tabla
Dimas
  • 71
  • 6

puedes colocar todos los datos de la tabla? estas comparando con dos campos, deberias colocar algo así

$query = "SELECT i.description_item,i.quantity,u.name_unit,i.reorder_Level,
  i.target_Stock,l.name_location,i.commentt,io.quantity_s,io.registerTicket
  FROM inventory_list AS i
  INNER JOIN unit_mesurement AS u ON id_unit = fkUnit
  INNER JOIN location AS l on id_location = fkLocation
  INNER JOIN inventory_output as io on id_output = fkInventory
  WHERE io.registerDate >= '".$fecha1."' AND  io.registerDate <= ' ".$fecha2."'";
Dimas
  • 71
  • 6