By rampar on
I'm trying to make a button with a single text entry field that's inside a block so people can type in their name and then click submit and it adds their name to a field in the sql database. I can create the button, but how do I link it to run a db_query when it's pushed?
If anyone has an example of how this should look that'd be awesome!