UPDATE a75ting.username
SET points = points - 5
i want to change the points column in the database WHERE username = $usern
is that how is works?
ALSO– is the $rows variable a session type of variable? can i only request the db connect once to use $rows anywhere? or do you need to connect to tb per request?
You need a table, so the query would be:
In php it would be:
With regards to your question about session variables, no
$rowwould not be a session variable. The only session variables exist within the$_SESSIONarray.