Am trying to create a sales web application that will add sells price and multiply with the quantity and also check their is any discount, if yes the discount will be minused from the total sells and then sumbit the final total, but if their is no discount
it will submit the result.
Example:
textbox price
textbox quantity
textbox discount
lable result display
the price of iphone5 is $3,000 and a customer wants 5 of it, the application will multiply the price of the iphone by the quantity the customer is bying and then check if their is discount, if yes it will minus the discount and submit the finall result;
but no it will insert zero into discount colum and submit final result.
Please this clear to understand?. Any idea on how to make this work?
my design :
<br />
</td>
</tr>
...
Go to the complete details ...