Oh, okay, I get it. Thanks! And as for your suggestion, I wanted to go that route but don't understand exactly how to do it. This is the found script so far: [code]<?php include ('dbconfig.php'); include ('header2.php'); $itemfound=$_POST['item']; if(!$itemfound){ echo "You must answer the riddle! Please do back and try again."; } $sql = mysql_query("INSERT INTO found (finder, item, time) VALUES('$username', '$itemfound', now())") or die (mysql_error()); if(!$sql){ echo "There has been an error. Please contact the webmaster."; } else { echo "You found the "; echo $itemfound; echo "! Congrats!"; } $reward = "50"; $sql = "SELECT user_pts FROM users WHERE username = '$username'"; $userpts = mysql_query($sql) or die(mysql_error()); $new_pts = $userpts + $reward; $sql = "UPDATE users SET user_pts = '$new_pts' WHERE username = '$username'"; $result = mysql_query($sql) or die(mysql_error()); echo "You were rewarded with "; echo $userpts; echo " points! Congrats!"; exit(); ?> [/code] Could you further explain how to execute your suggestion? The reason I went with the users table to store user_pts is so that I could display a scoreboard easily. Scoreboard.php : [code]<table border="0" cellspacing="2" cellpadding="2"> <tr> <th>Nickname</th> <th>Username</th> <th>Points</th> </tr> <?php include 'dbconfig.php'; $query="SELECT * FROM users"; $result=mysql_query($query); $num=mysql_numrows($result); mysql_close(); $i=0; while ($i < $num) { $nickname=mysql_result($result,$i,"nickname"); $username=mysql_result($result,$i,"username"); $points=mysql_result($result,$i,"user_pts"); ?> <tr> <td><? echo $nickname; ?></td> <td><a href="http://www.neopets.com/randomfriend.phtml?user=<? echo $username; ?>"><? echo $username; ?></a></td> <td><? echo $points; ?></td> </tr> <?php $i++; } echo "</table>"; ?>[/code] If I may also ask, I've come across a couple questions. 1. Originally, I wanted this to work so that when a page loads it runs the script or if they click a certain link/image link, it runs the script and then loads a different page. I want the script to work for all found items without having to recode it for each item; and the page that loads afterwards would be different each time. Is there a way for me to do this at this point? Right now, the script is executed via a form/the user clicks a button. 2. I want to have the $itemfound be checked against the items table to ensure it exists before inserting it into the found table; but I can't get that to work. How would I go about that? I'm really sorry to be such a bother and really appreciate any and all help!