- Joined
- Feb 19, 2008
- Messages
- 1,055
- Reaction score
- 492
You guys are checking if 'user' is set, but not if it returns true, then in the "AND" you're checking if 'id' is equal to "true", of course that code wont work. Not that I'm a PHP coder but this is more like what you guys were going for:
If I'm not mistaken? PHP is awful altogether, people can't even correct someone else's code without screwing it all up. Lol
Code:
if(isset($_SESSION['user']) == true && isset($_SESSION['id]) == true) {
If I'm not mistaken? PHP is awful altogether, people can't even correct someone else's code without screwing it all up. Lol