Jump to content

updating table help


Jiraiya

Recommended Posts

im confused about how to write the script so that it takes a logged in users data from a table and updates one variable if another variable meets a certain requirement, i have the code below but i want to make sure its done correctly so i dont ruin my table 

 

 

 

 

UPDATE users
SET column1=value, column2=value2,...
WHERE some_column=some_value


if($skill >= 5000000)
{
$rank = Akatsuki;

Link to comment
https://forums.phpfreaks.com/topic/136821-updating-table-help/
Share on other sites

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.