login2.php
//Function to sanitize values received from the form. Prevents SQL injection
Function to sanitize values received from the form. Prevents SQL injection
Function to sanitize values received from the form . Prevents SQL injection
function clean($str) {
		global $link;
		$str = @trim($str);
			$str = stripslashes($str);
		return mysqli_real_escape_string($link,$str);
	}
function clean ( $ str ) { global $ link ; $ str = @ trim ( $ str ) ; $ str = stripslashes ( $ str ) ; return mysqli_real_escape_string ( $ link , $ str ) ; }
Function to sanitize values received from the form.
Function to sanitize values received from the form .
// if(get_magic_quotes_gpc()) { // }