Mendapatkan nilai input dalam variabel sesi di PHP

$qty = isset($_GET['qty']) ? $_GET['qty'] : 1;
$_SESSION['qty'] = $qty;
Black Heart