I need to make a button that when you click it it inserts text into a database. I know my connection code and everything but I cannot for the life of me find a code that says 'If this button is clicked then do this' its a simple if then statement and i can't figure out how to do it!