$goods = $_SESSION['goods']; and $_SESSION['goods'] = $goods; What do these two codes mean? And what is the overall idea of buy.php?
These two pieces of code can be said to be the same
These two pieces of code can be said to be the same