Mainewoods, I found the line: [code] $query_quotes = sprintf("SELECT * FROM wisdom_backup WHERE MAXIMID = %s ORDER BY AUTHOR ASC", $colname_quotes); [/code] The whole reason for this is to clear a url parameter that is added to the URL in the browser everytime a user 'votes' on a record. Thus, if the user doesn't vote, then this line is irrelevant. But, when the user 'votes' it adds a URL parameter to the browser, so that if the user decides to vote on another record, it will count 2 votes (1 for the new vote hit, and 1 for the previous vote hit, because each url parameter is now in the url shown in the browser). So essentially, after the user votes, I just want to clear the URL parameter. Does this make sense? Or am I over-thinking this?