David Beckham was anything but surly on Tuesday -- he received a knighthood from King Charles!!
The English soccer superstar officially became Sir David Beckham during a ceremony at Windsor Castle ... being presented with the recognition for "Services to Sport and to Charity."

The 50-year-old was happy as could be as he took a knee in front of Charles ... and proudly flaunted his new medal in a photo op with his wife, Victoria.