Hi. I have HTML form and i need php code when i want to subtract something from coulmn in mysql database.
Something like
http://www.daniweb.com/web-development/php/threads/101739/using-php-and-html-forms-to-update-a-mysql-database
MY FORM - HTML
<form action="objednat_potvrdenie.php" method="post">
Meno: <input type="text" name="meno"><br>
Priezvisko: <input type="text" name="prie"><br>
Mesto: <input type="text" name="mesto"><br>
Ulica: <input type="text" name="ulica"><br>
PSČ: <input type="text" name="psc"><br>
Počet kusov: <input type="text" name="p_k" id="p_k"><br>
Kód produktu: <input type="text" name="k_p" id="k_p"><br>
<input type="submit" value="Objednať">
</form>
I want ask for sql, php, and demo pleaseee.