How to create a PHP link?

I’ve got an IF function within a PHP file and I want the outcome of the IF function to redirect the user to a different webpage of mine.
Is there a way to even do this, if so could someone tell me the template for this one.
Thank you

It’s easily done with a header but that must come before any html output in the script.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.