Posts by Joao • 1 point
3 posts
-
-4
votes1
answer33
viewsQ: Php - update + or - in the field
I have created a db with Nome produto | stock Rato 3 My goal is to. when you enter the number in the input it see if it is positive(1) or negative(-1) and then update the gender "stock = stock + 1,…
-
0
votes0
answers72
viewsQ: Excel - create a top 10 with all Records
I have a site where generates statistics in . txt, this txt after and generated in excel with all the results. My goal is to create a top of the most viewed articles. This and example: In the…
-
-1
votes1
answer126
viewsQ: Mysql - update via db with "set price = price - 5%"
How do I update where it will decrease the price of the product by percentage? Example: Table: id | products 10 | 1.40 How do I update to 1.40 - 5%?…