View file wip-site-portal/src/_set_best.php
<?php require('ini.php'); $link=connect(); $uid = 2; mysql_query("SELECT `id` FROM `wip_bests` WHERE `uid`='".$uid."';"); if(mysql_affected_rows()>0){ echo 'ID exist!'; exit(); } mysql_query("INSERT INTO `wip_bests` SET `uid`='".$uid."';"); mysql_close($link); ?>