fishbones/core/CleanVars.php
/**
	 * return var escaped to prevent database injection attacks.
	 * 
	 * @param $par string string variable to clean
	 */
return var escaped to prevent database injection attacks.

@param $par string string variable to clean
return var escaped to prevent database injection attacks . @param $par string string variable to clean
public function clean( $par ) {
		if( get_magic_quotes_gpc() ) {
			$par = stripslashes( $par );
		}
		$conex = Fishbones::getDB()->conex;
		$val = mysql_real_escape_string( $par, $conex );
		return $val;
	}
public function clean ( $ par ) { if ( get_magic_quotes_gpc ( ) ) { $ par = stripslashes ( $ par ) ; } $ conex = Fishbones :: getDB ( ) -> conex ; $ val = mysql_real_escape_string ( $ par , $ conex ) ; return $ val ; }
return var escaped to prevent database injection attacks.
return var escaped to prevent database injection attacks .
// temporal // remove any & character //$par = str_replace( '&', '', $par ); //Stripslashes //Quote