Hi,

how can i execute a certain bit of code when the submit button is pressed? What i want to do is put the data in text boxes into a database record when the submit button is presses.....but i need to do it on the same page, instead of passing the variables to another.

Thanks for any help
Nick