> I like your simplicity and straightforwardness.
Thanks. ;p
> My code tends toward:
> switch($submit) {
> case: "Accept":
> .. insert record
> break;
> case: "Delete":
> .. delete record
> break;
> case "Cancel":
>
I like your simplicity and straightforwardness.
My code tends toward:
switch($submit) {
case: "Accept":
.. insert record
break;
case: "Delete":
.. delete record
break;
case "Cancel":
.. cancel
> Click Here! "), so in that case I display the form. If it does not have
an
> empty value, the user has clicked the submit button, so I can go ahead
> processing the form data. Like this:
> if ( empty($submit) )
> {
> ### Display the form
> }
> else
> {
> ### Do some checks to make the
> I have the insertRecord function which is supposed to be called only
> when you hit submit. For some reason I'm blanking out on how to do
> this. The function and function call ARE on the same page. I think I
> just need some logic to indicate "stop" and "go".
Every form has a submit button rig