PHP Button disable "ok"

Is there some way to stop the “ok” button that comes up after a PHP button is clicked?
I have to use a PHP button to update the database since javascript buttons wont let me run PHP code…
What I want is a button in a form that when clicked will instantly update a few columns using some session variables that I read in when the page loaded.
Is my approach wrong? Is there another way?
Thanks for any and all suggestions.
:cool:

sc_exit(sel) at the end of your button code.

jsb

1 Like