?>
if ($res->num_rows > 0) {
$_SESSION['user'] = $res->fetch_assoc();
header('Location: dashboard.php');
} else {
echo "Login inválido";
}
}
?>
Painel de Entregas
while ($row = $res->fetch_assoc()) {
echo “”;
}
?>
| ID | Cliente | Tipo | Status |
|---|---|---|---|
| {$row[‘id’]} | {$row[‘nome’]} | {$row[‘tipo’]} | {$row[‘status’]} |
header(‘Location: dashboard.php’);
}
?>