?>
if ($res->num_rows > 0) {
$_SESSION['user'] = $res->fetch_assoc();
header('Location: dashboard.php');
} else {
echo "Login inválido";
}
}
?>



Painel de Entregas

Nova Entrega/Coleta

while ($row = $res->fetch_assoc()) {
echo “”;
}
?>

ID Cliente Tipo Status
{$row[‘id’]} {$row[‘nome’]} {$row[‘tipo’]} {$row[‘status’]}

header(‘Location: dashboard.php’);
}
?>

Cliente ID:
Tipo: