RE: [PHP-DB] Hold that insert!

2001-03-27 Thread Boget, Chris
> 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": >

Re: [PHP-DB] Hold that insert!

2001-03-27 Thread Terry Romine
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

RE: [PHP-DB] Hold that insert!

2001-03-27 Thread Boget, Chris
> 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

Re: [PHP-DB] Hold that insert!

2001-03-27 Thread Darryl Friesen
> 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