Adding Buttons only if database Text exists?

Ive had a dig about. Would this be the best course of action or am I going down a rabbit hole with this?