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']))
精彩评论