p206ab
06-03-2012, 07:22 PM
So I'm having this code:
<form action="php/pricelist.php" method="post">
<input type="checkbox" name="item1"/> ITEM 1 <br />
<input type="checkbox" name="item2" /> ITEM 2 <br />
<br/>
<button type="button" ONCLICK=FUNCTION()>Count your price!</button>
And I'm wondering where can I get some examples for my problem or if anyone of you can help me.
I want to make a script who would have items values written in SQL database, and then when user would select an item and sumbit its selection, SQL would return price(values) for selected items.
Any hints, links?
Thanks.
<form action="php/pricelist.php" method="post">
<input type="checkbox" name="item1"/> ITEM 1 <br />
<input type="checkbox" name="item2" /> ITEM 2 <br />
<br/>
<button type="button" ONCLICK=FUNCTION()>Count your price!</button>
And I'm wondering where can I get some examples for my problem or if anyone of you can help me.
I want to make a script who would have items values written in SQL database, and then when user would select an item and sumbit its selection, SQL would return price(values) for selected items.
Any hints, links?
Thanks.