Posts by João Pedro Almeida • 79 points
2 posts
-
2
votes1
answer247
viewsQ: Calculation in php giving error
On my site I have the following code to calculate discounts: $valor_a_ser_calculado =$_POST['loc']; // valor original $quantos_porcento = 75/100; //isso equivale a 7% $loc = $quantos_porcento *…
-
5
votes2
answers103
viewsQ: How to change the code when the visitor is mobile?
I am developing a website, I want that when the user enters by phone the code change, can be with js or with html. Example (Visitor using Phone): <a href="fb://page/1703826839873386"…