Thanks Jason - this is very helpful, as I'm just starting to convert a site to MySQLi;
1) How should 'show if session =' be displayed?
Mysql:
<?php if ($_SESSION['MemID']==""){ ?>
2) Does the comparison part of the code need to be contained in "" - I notice Nathon's example just used >0
3) Will session values create on 'old' MySQL pages still be recognised on pages using MySQLi?
Many thanks
Chris