query($sql); $row =$stmt->fetchObject(); $passthru = $row->ClickLink; header("Location: " . $passthru, true, 301); ?>