Is there anyway to refresh a page based on user input using php? or am i looking at javascript? Basically, i have a chatroom, and i don't want to use a meta tag because i want the page to refresh faster than every 5 or 1 seconds if it has to, or as slow as it has to, based on when any of the users sends a message. For example, 4 people are in my chatroom, one of them sends a message, and each of the 4 peoples page refreshes. Is that even possible using PHP or javascript?
Thanks.
P.S.: Sorry if this is in the wrong forum. I figured Javascript was strictly browser based and wouldn't be able to update each active user's page, and therefore i posted in here.
