$goods=$_session['goods'], I can't understand the following session reading goods. Where does it come from? Is the session_start process missing from goodlist?
He created a session called goods, but he wrote it below $_SESSION['goods'] = $goods;
He created a session called goods, but he wrote it below $_SESSION['goods'] = $goods;