Hi Jason, thanks again, that works but allows any users in our DB to access any page. We have 4 user groups in the table, could I limit access to certain pages to certain groups:
ContactGroupID = 2 access to client.php
ContactGroupID = 3 access to admin.php
ContactGroupID = 4 access to staff.php
ContactGroupID = 5 access to staff.php & admin.php
I briefly looked at setting up groups in SA but a little confused?