Posts by mateus silva • 45 points
6 posts
-
-3
votes1
answer137
viewsA: echo "<script>" does not work
Try this $procuraPreco = mysqli_query($connect, "SELECT preco FROM infs WHERE id='$id'"); $retornaPreco = mysqli_fetch_all($procuraPreco,MYSQLI_ASSOC); $preco = $retornaPreco[0]['preco'];…
phpanswered mateus silva 45 -
1
votes0
answers472
viewsQ: How to update php correctly
Hello I am making an administrative panel where the administrator can edit the Name, User and email but it does not perform the UPDATE in the database but in the message it says that the update…
-
1
votes1
answer337
viewsQ: IF condition with database
Guys I’m making a money transfer system via php with database, I have an option showing all database users and a text field to enter a value, how I do so that the user can not select himself and…
-
2
votes1
answer354
viewsQ: How to update the database with SELECT Sum
I need to do the update of a table summing two values (money + deposited), thus obtaining the total. This total I already have using the code Select SUM(dinheiro)+(depositado) total from usuarios…
-
-2
votes1
answer60
viewsQ: How to make condition with msql number
Personal need a lot of help I have an input for the person to make a money transfer but if that person has 30 real money and she type a value of 100 real to make the transfer she will be with…
-
1
votes1
answer109
viewsQ: How to make a condition with mysql php number
Hi I’m doing like a virtual bank in one part has to make the deposit, the user has the wallet money for example. I have 500 real in my wallet but if I put any value over 500 it deposits into the…