For the spaghetti with tomatoes, boil the spaghetti in water. Cut the tomatoes and finely chop the garlic. In a pan, lightly fry the garlic in the olive oil.
Add the spaghetti and the tomatoes. Fry for a few minutes, turning. Add the basil and season with salt.