MySQL (6)

How to move a WordPress blog to another domain

The first step is to make a backup of your database and of your wp-config.php file.

How to avoid SQL injection attacks

If you aren’t using a CMS, or you have your “hand-made” CMS, maybe you have a PHP search page that takes the search string and puts it into an SQL query (in a WHERE clause), in order to get the results.

Search into a database with PHP

How to make a simple PHP search function, to search into a MySQL database.

PHP and Ajax

Here you will see an example of JavaScript and PHP code that, together, checks if a given variable exists into a SQL database, and, if doesn’t exist, allows the client to insert it into the database. All of this, without update the entire web page.

PHP: connection to a MySQL database

How to make a connection to a MySQL database.