Unless register_globals is on (which it really shoul NOT be), you need to set the variable $id = $GET['id];. Also, to get a better idea of what's happening, try this pattern for now to get some debug info:
$id = (int) $_GET['id']; // for security, force user-supplied value to be integer
$sql = "UPDATE pets SET user='pound' WHERE `id`=$id";
$result = mysql_query($sql);
if(!$result)
{
die("Query failed ($sql): " . mysql_error());
}
if(mysql_affected_rows() == 0)
{
user_error("No rows updated ($sql)", E_USER_WARNING);
}
For the production version, you'll want to change those die()/user_error() commands to something else so that database queries are not output to the user, but for debugging it may help you find any problems.