<?php
$name = htmlspecialchars($_GET['name']);
$password = htmlspecialchars($_GET['password']);
$country = htmlspecialchars($_GET['country']);
$age = htmlspecialchars($_GET['age']);
$integer = (int) $integer;
/*
This function must always (with few exceptions) be used to make data safe before sending a query to MySQL.
*/
$string = mysql_real_escape_string($string);
?>