procedural/crud_mysql/scripts/util.php
# Removes some unimportant characters from the passed string.
Removes some unimportant characters from the passed string.
Removes some unimportant characters from the passed string .
function format_input($data)
{
	$data = trim($data); 
	$data = stripslashes($data); 
	$data = htmlspecialchars($data); 
	return $data;
}
function format_input ( $ data ) { $ data = trim ( $ data ) ; $ data = stripslashes ( $ data ) ; $ data = htmlspecialchars ( $ data ) ; return $ data ; }
Removes some unimportant characters from the passed string.
Removes some unimportant characters from the passed string .
# Removes additional blank spaces. # Removes slashes (\); # Removes special characters.