Sanatize Form Inputs - A simple PHP funciton
Whenever you have a form on your website, and you are putting that data into a MySQL database, you have to take some precautions. People can inject SQL queries from the form, and you can’t let people do that. Just imagine if someone injected a DROP TABLE statement.
Setting up a Basic PHP framework
When using PHP, once of the most useful functions is the ‘include’ function, which allows you to include all of the code from one php file in another. using this, we can set up some good systems for keeping our code organized, and making it easier to edit and use.



