0

Please I need help,
I don't know what I'm doing wrong here,

$query=( "UPDATE $tblname SET totwrong =".$wrongAnswers."', SET Test_score ='".$percentage."' WHERE UserName  = '".$UserName."'");

It does not update the table, please please

3
Contributors
4
Replies
5
Views
6 Years
Discussion Span
Last Post by debasisdas
0

I checked this is working fine....

$query=( "UPDATE ".$tblname." SET totwrong ='".$wrongAnswers."',  Test_score ='".$percentage."' WHERE UserName = '".$UserName."'");

If any query just PM me any time....:)

0

Thank you very much tomato.pgn, So if I want to add another variable, it should just be separated by ','.

0

ya..u have to just separate them with ','.....
U can PM me any time u need help...as soon as i will see ur msg i will respond to it...

0

U can PM me any time u need help

It is always recommended to post questions and replies in the forum threads so that others also can benefit from them.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.