wow... it looks like its going to work but it does not... i must be doing somthing wrong... here is my code... [code]<?php session_start(); $_SESSION['voted'] = "yes"; if ($_SESSION == "yes") { echo("<b>You Have voted already!</b>"); } else { mysql_connect("localhost","poop","bogus"); mysql_select_db("hizzr"); $id = $_GET["id"]; $sql = "UPDATE links SET total_votes = total_votes + 1 WHERE id='$id'"; $result = mysql_query($sql); echo("<b>Vote counted!</b>"); }?>[/code]