CODE
if (!($_SESSION['userName'] && $_SESSION['password'])){
Which strikes me as odd. It seems even stranger that the files are identical to the ones I always use and always work, the only difference is the paths to my includes and the database. Anyone got any ideas? At the moment I'm getting around it by using output buffering, which I don't really like using, I'd rather figure out what the problem is as opposed to just getting round it.