&lt;p&gt;I am trying to insert some set data into an SQL database on the click of a button on a website I am toying with. I have the following code present, however, something must be going wrong and I thought this was the right forum to see where I am messing up.&lt;/p&gt;