Hi, I have this website where there will be chat rooms. I would like to have a form(php script) of rules of conduct before people gets access to the chat rooms. The options: Yes to continue to the chat rooms, No to send them back to the Home page.
Thanks in advance for you help.
Thanks for your prompt response.
I have this site with a menu that gives the user the option to click the link to open the chat room, rather that going directly in the chat room I want to show the user a page with rules of conduct in the chat room, and give the user the option to press YES (agreeing to the rules of conduct in the chat rooms)allowing the user into the chat room or press NO (not agreeing to the rules therefore going back to the main page of the site to continue browsing)
The code that you put in your response, seems to be close to what I am looking for, but when I attempted to run the code it did not work. Would you please post the complete code? thank you
<!-- Rules of conduct text here -->
<div style="width: 300px; text-align: center;">
Do you agree to the rules?