Vous êtes sur la page 1sur 1

<?

php
include('admin/lib/dbcon.php');
include('session.php');

mysql_query("update voters_ccs set status='Voted' where IDCode='$session_id'")or


die(mysql_error());
mysql_query("update voters set status='Voted' where IDCode='$session_id'")or
die(mysql_error());
mysql_query("update user_log set logout_Date = Now() where IDCode = '$session_id'
")or die(mysql_error());

session_destroy();
header('location:../index.php');
?>