I want a link to say Broadcast (Online) when someone is online, and Broadcast (Offline) when someone isn't.

I know I can write an if statement, but how do I pass the parameter that someone is online to the website?

  • 1
    This question appears to be off-topic because it is about web development which is off-topic at Pro Webmasters. Web development questions may be asked at Stack Overflow but be sure to read their FAQ before posting to ensure your question meets their guidelines. In its current form, this question does not meet their guidelines. – John Conde Apr 7 at 23:55