I have a form with the fields:
username
password
password2
email
Is the best way to clean the user input this way? Or have a missed something?
	
	
	
		
	
		
			
		
		
	
				
			username
password
password2
Is the best way to clean the user input this way? Or have a missed something?
		PHP:
	
		foreach ($_POST as $value)
		$value = strip_tags(mysql_real_escape_string($value)); 
	 
  
 
		 
 
		
