Jump to content
×
×
  • Create New...
  • 0

Update dans une quette


Mandrilux
 Share

Question

Bonjour

je suis entrain actuellement de realiser une quette PVP et j'ai un soucis avec une requette d'update

 

 

je voudrai incrémenté le nombre de points mais je n'y arrive pas

 

voila ma requette

 

local maj = mysql_query("UPDATE player.player SET points = '"..point.. + 1"' WHERE id='"..id.."';")

 

le probleme est le set + 1 qui pose probleme je pense

Link to comment
Share on other sites

  • Answers 5
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

5 answers to this question

Recommended Posts

  • 0
  • Retraité

local maj = mysql_query("UPDATE player.player SET points = '"..point.. + 1"' WHERE id='"..id.."';")

Simple coup d'oeil, attention aux guillemets.

You can't be immortal,
But you can make people remember
you for thousands of years...

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share



Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.