Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Jan 2008
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    need help with comment box

    Hi i want a comment box on my page so my visitors can type comments in it, and theres a submit button so when they click it, their message will appear on the page. Is there a code/script for it?

    Oh yeah and is there a code for a form so my visitors can type a message in it and click on the button, and the message will be sent to my email?

    please help

  • #2
    New Coder
    Join Date
    Dec 2007
    Posts
    14
    Thanks
    0
    Thanked 5 Times in 5 Posts
    You don't need javascript to do so. You need some kind of server side language (PHP, ASP or JSP...). And you need a database (such as mysql).

    Bye

  • #3
    Supreme Master coder! Philip M's Avatar
    Join Date
    Jun 2002
    Location
    London, England
    Posts
    17,989
    Thanks
    203
    Thanked 2,536 Times in 2,514 Posts
    Quote Originally Posted by tanuki View Post
    Oh yeah and is there a code for a form so my visitors can type a message in it and click on the button, and the message will be sent to my email?
    Few browsers nowadays accept mailto as a form action. You need a really old browser for it to work as more modern browsers simply open the email program (if any) and ignore the form. If you are going to use a form then use a server side form2mail script as the action.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •