Posts by Marcos Júnior • 23 points
5 posts
-
0
votes0
answers12
viewsQ: Execute a Mysql command(event) if the "item" is not in two separate databases
Hello is basically the following is a Webgame where every 5 min runs the regeneration command, the command would be this: UPDATE `_personagens` SET vida = IF( vida +(vida_m * 0.05)> vida_m,…
-
0
votes1
answer36
viewsA: Send 2 Array with json_encode with While PHP command
I could not send two repeated values but was able to send new values and receive them within . js as follows with $n = $n+1 it generates several array sending them to the . js the gambiarra was done…
-
-1
votes1
answer36
viewsQ: Send 2 Array with json_encode with While PHP command
I don’t know how else to explain it but come on. I have a game with . js fighting system the current idea is to add CD (Reload Time) in Skills. When I use another Skill the previous one comes out of…
-
1
votes1
answer37
viewsQ: Refresh of an <input> containing Database values
Hello let’s start explaining what I need kkk Basically it is a game where I attack, after attacking it inserts in DB the CD turns, and at each new attack reduces the time by 1, what I wanted to do…
-
-2
votes1
answer52
viewsQ: How to use MYSQL with Case or IF
This is with CASE that does not work, the idea is simple every day the training of the players is reset to 15, IF the player is VIP, that is to say "time VIP" LESS than the current date, he has only…
sql-updateasked Marcos Júnior 23