Jump to content

[SOLVED] Need Help with an Update statement


kevincro

Recommended Posts

I'm trying to update a database row.  I don't know if there is something wrong with my PHP or the mysql query.

 

        mysql_query("UPDATE `playerranks` SET player_points=player_points + $Amount WHERE player_name=$Player_Name");

 

all my variables are set to the desired value.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

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.