the command used for this purpose is.
mysql_query("UPDATE tbl set field='$value' WHERE id='$id'");
thank you for this but i've the person table with an attributes of firstname,id and ratingno. if u hit the same person,the rating should be increased by one without using another row for the same person. I mean to tell like this...