1 garlic clove, minced or finely chopped
1 medium onion, finely chopped
400g tin pineapple chunks in juice
400g/14oz spaghetti (or pasta shape of your choice)
salt and black pepper
1 tbsp butter
200g/7oz full-fat cream cheese
200g/7oz tinned ham, cut into cubes