check_safe_collation example


    public function get_var( $query = null, $x = 0, $y = 0 ) {
        $this->func_call = "\$db->get_var(\"$query\", $x, $y)";

        if ( $query ) {
            if ( $this->check_current_query && $this->check_safe_collation( $query ) ) {
                $this->check_current_query = false;
            }

            $this->query( $query );
        }

        // Extract var out of cached results based on x,y vals.         if ( ! empty( $this->last_result[ $y ] ) ) {
            $values = array_values( get_object_vars( $this->last_result[ $y ] ) );
        }

        
Home | Imprint | This part of the site doesn't use cookies.