if(iMEMBER){
if($userdata['user_lastdate'] != date("d")){
dbquery("UPDATE ".DB_USERS." SET taskai=taskai+1, user_lastdate='".date("d")."' WHERE user_id = '".$userdata['user_id']."'");
}
}
<?php
dbquery("ALTER TABLE `".DB_USERS."` ADD taskai varchar(100) NOT NULL default '';");
?>