public static function rangeField($data)
    {
        $field = '';
        $i = 0;

        foreach ($data as $key => $value) {
            $field .= ($i > 0 ? ', ' : '') . '`'.$key . '` = ' . $value;

            $i++;
        }

        return $field;
    }
public static function rangeField($data)
    {
        $field = '';
        $i = 0;

        foreach ($data as $key => $value) {
            $field .= ($i > 0 ? ', ' : '') . '`'.$key . '` = ' . $value;

            $i++;
        }

        return $field;
    }
public static function rangeField ( $ data ) { $ field = '' ; $ i = 0 ; foreach ( $ data as $ key => $ value ) { $ field .= ( $ i > 0 ? ', ' : '' ) . '`' . $ key . '` = ' . $ value ; $ i ++ ; } return $ field ; }
Function to secure the data.

@param array $data, les données à sécuriser

@return string $field
Function to secure the data .