What is the ruling on eating or drinking forgetfully during the day in Ramadan or during voluntary fasting?
Whoever eats or drinks forgetfully while fasting, whether in an obligatory or voluntary fast, should continue their fast, for it is Allah who has provided them with food and drink. There is no difference between obligatory and voluntary fasting in this ruling.
What is the ruling on entering the toilet with something containing the remembrance of Allah?
It is disliked to bring into the toilet anything containing a reminder of Allah, such as the Quran or a sacred name (like the name of Allah, Muhammad, etc.). If one does that, etiquette dictates that he conceal it so it is not visible while entering the toilet, either by cupping his hands over it, putting it in his pocket, or inside his shirt if it is a necklace or ring. And Allah the Almighty knows best.
What are the pillars of fasting?
The pillars of fasting are intention and abstaining from all nullifiers of fasting from dawn to sunset.
What is the ruling on swallowing saliva while fasting?
It is permissible for a fasting person to swallow their saliva because avoiding it would cause undue hardship and excessive strictness in religion. Islam discourages such excessiveness since Allah the Almighty intends ease for His followers and does not intend to put them in hardship.