question about php and sql?

Dan

New member
how do i insert a piece of information into a certain user in a table in a database without creating a new row, here is the syntax that iam using:

$sqlScore= "INSERT INTO user (NetScore) VALUES ('$score') WHERE UserName = '$_SESSION[username]'";

but i have never done this type of thing before so iam not sure.
 
This is solely an SQL question.

You are looking for the UPDATE query: http://www.w3schools.com/sql/sql_update.asp
 
Back
Top