For my forum, I am trying to design a feature that relies on PHP to function. The 'if' statement that is used in the PHP relies on the user ID to operate, but I am having a problem. I want the PHP code to be executed for the guest user ID, but whenever a user tries to log in that should not have the PHP code executed, it is getting executed anyway. Is there a way to stop the 'if' statement from executing during log-in?
Thanks in advance!
~ David B