Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $session = Yii::app()->session['products'];
- if (($key = array_search($_GET["pid"], $session)) !== false) {
- unset($session[$key]);
- Yii::app()->session['products'] = $session;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement