button submit with 2 different behaviour
<p>how could i set a variable with a submit button in order to differenciate 2 behaviours, so first time the same submit button will insert in database and in second time it updates database values.</p>

<p>Thanks.</p>
