The general approach when a form has $PHP_SELF as the action value is to use
a switch construct and in one of the cases perform the mentioned db
operations, in all other cases (depends what variable you'd be switching)
simply do not perform them.

HTH,
Nasko

"Conrad Strydom" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> um , lets say a form calls its own page , does some db operations and then
> returns to its former self ,
>
> how do you get it to not perform said db operations on refresh?
>
> i.e the data is reposted and thus  the submit variable still appears to be
> set?
>
> Thanks
>
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to