how can i program a select field in php mysql so as to update the value and use it in another field. thanks