开发者

PHP unique sessions

Hi how do I use a unique hash for session's ? like when I do an 开发者_如何学Cif statement :

if ($_SESSION['BOOTY'] != 0){ 
 echo Nice $_SESSION['BOOTY'];
}

it wont work. How to do a comparison of unique hashes with an if statement ?


you can try using isset() method instead of equating to zero ...

if(isset($_SESSION['booty']))
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜