It seems that my code snippet loads too early, before the content of my webpage is loaded. Is there a way to tell the snippet not to load before the content?
Some sort of do_action that tells my snippet to run later and allow the MySQL result to appear in the text box, where I placed the snippet?