[eluser]jdfwarrior[/eluser]
What does
Code:
value="<?php echo set_value('a');?>"
actually output in your html? Unless set_value is returning a value, that shouldn't be setting the value.
To update values of fields from a database,.. you would need javascript to do it without a page refresh. If you submitting the form back to itself, php will work
Sorry if this makes no sense. Its early, and i had a long night