PHP/MySQL: How to create a comment section in your website -


Instead of asking 'How to use PHP / MySQL' to affect the webpages, I would ask because I know better than projects and examples.

How do I include a very basic comment feature using PHP and MySQL?

This is a difficult question to answer without further information on implementing comments on the existing website. There are many things to consider.

How would you address the issue of spam? It does not matter how far your website is, spammers will find it and they fill it with no time. You might want to see something like reCAPTCHA ().

The structure of the website can also affect how you implement your comments, is the comment for the overall site, a particular product or page, or another comment? You will need to know the relationship between content and comment so that you can properly define the relationship in the database. To keep it in another way, you know that you want an email address, comment, and whether it is approved or not, but now we need a way to identify it, if any, by comment Has been linked.

If your site is already installed and created on the PHP framework (for example), then you have to know how to properly integrate your code from the location already existing.

Finally, resources and tutorials for PHP on the Web If you do a quick Google search for something on the lines of "PHP Blog Tutorial", then I'm sure you will find hundreds and the majority will apply comments to you. To show step by step.


Comments

Popular posts from this blog

c# - ListView onScroll event -

PHP - get image from byte array -

Linux Terminal Problem with Non-Canonical Terminal I/O app -