Hello,

        I have form that a user updates, it contains 5 html select boxes. The
page loads and dynamically populates the select boxes with data from the
database.

Now the user can change any value of any select and hit "Update" now all
the changes are applied to the database to reflect that change. 

The question I have it .. on three of the select boxes .. if the data is
changed I require a extra function to get run. 

So for example if the "owner" value is changed I want to send a e-mail
to the new owner.

For performance should I just pass a hidden value with the original
owner and compare that with the owner value of the select box OR should
I do another db select to see if the field changed ???

I was thinking that passing a string would have less of a performance
impact ? then db activity. ?

Michael

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to