[PHP] Re: form action problem

2001-07-10 Thread Adam
> Adam, > It's really better to use the isset() instead of empty() because if you set > the error level report to E_ALL you will see that PHP will produce warnings > if the variable is not set at all! empty() and isset() are totally different. If a variable is set, but is set to nothing (or a val

[PHP] Re: form action problem

2001-07-10 Thread elias
Adam, It's really better to use the isset() instead of empty() because if you set the error level report to E_ALL you will see that PHP will produce warnings if the variable is not set at all! "Adam" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > hmmdo a

[PHP] Re: form action problem

2001-07-10 Thread Adam
> hmmdo again as: > >function functionA() > { > // your function goes here > } > > if (isset($usefunctiona)) > { > functionA(); > } > ?> > > > > > > > > i might try: this would also assume you need multiple functions to be used on the same form as

[PHP] Re: form action problem

2001-07-09 Thread elias
hmmdo again as: //elias! "Brad Wright" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi all, > i want to have a submit button on a page that has a php function (on the > same page) as the action. > > ie. > > > > > > > so when the 'Us