if($mode == "click"){ require("inc/conn.php"); $sql_vote="SELECT * FROM fr_member where fr_id ='".$_GET[fr_id]."'"; $table_vote=mysql_query($sql_vote); $row_vote=mysql_fetch_array($table_vote); $sql_vote_count="UPDATE fr_member SET fr_vote= ' ".($row_vote[fr_vote]+1)." ' where fr_id ='".$_GET[fr_id]."'"; $table_vote_count=@mysql_query($sql_vote_count); $row_vote_count=@mysql_fetch_array($table_vote_count); echo " "; }else{ } ?>