Originally Posted by Ajeh When a customer is logged in the: $_SESSION['customer_id'] is > 0 ... So you could use: PHP Code: if (isset($_SESSION['customer_id']) and $_SESSION['customer_id'] != '') {// do something} else {// do something else} Thanks for the reply Linda, but i'm sorry you've totally lost me... Where do i put this code and also what about the actual link. Many thanks
if (isset($_SESSION['customer_id']) and $_SESSION['customer_id'] != '') {// do something} else {// do something else}
Forum Rules