this code:
$sql = "UPDATE members SET id = id + 1 WHERE id = '4'";

to Update one record(id)

but I want to update 2 records in the same time I use this code but it does not work:

$sql = "UPDATE members SET id = id + 1,UserName=$username WHERE id = '4'";

what is the error in this code ?