I create computer games in my spare time and I wanted to create an online high score board for my newest game. I am pretty new to php and mysql. I have been able to stumble my way thru creating the database, table, inserting the data from my game, and retrieving/displaying the scores. Here is the [a href=\"http://www.brainpanreviews.com/bustin_balls_highscores/index.php\" target=\"_blank\"]score board[/a]. As you can see there are several entries with jason 98 as the name and score. This is because I realized that hitting refresh resubmitted and posted over and over. To avoid this, I want the php script to check the database before inserting the new name and score. All I am worried about is checking that the same name and score don't appear together. I am not sure how to check the new name and new score to be submitted against the database rows.
I am not sure what is the best way to go about this without having the player register, use cookies, etc.
I would appreciate suggestions, examples, or code.
Thanks for any help.
jackal