Hi, I want to create a comment system. I would like the comment system to not refresh the page like what I have seen on sites like facebook etc... Could you point me in the right direction... Are there any tutorials on the web for this sort of thing? I am already using PHP and HTML/CSS. Thanks in advance, Grant
not to refresh the same page? simply point the forum to another page or use cases to give a "request submitted" sentence. I'm not quite sure on your question. you do not want the form posts public?
I understand what you mean. Infact this is one of the latest demands of clients for their websites. You need AJAX. Start learning AJAX (Ashynchronous Javascript And XML) from W3Schools. You need to use Ajax for creating forms, which is processed without a page reload (you made a mistake in the post, the exact term here is 'reload', not 'refresh'). These links contain specific reference for form processing with AJAX, but you can get more AJAX tutorials elsewhere. http://www.developertutorials.com/tutorials/ajax/ajax-and-php-form-processing-8-01-09/page1.html http://enhance.qd-creative.co.uk/2008/06/20/ajax-contact-form/ http://www.captain.at/howto-ajax-form-post-request.php http://www.dustindiaz.com/ajax-contact-form/
Thank you soo much. that is perfect. Sorry about my unclear question. Its pretty hard to explain. Once again, thanks.