• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Time to change something in DB

Faraonekkk

New Member
Joined
Feb 15, 2010
Messages
686
Reaction score
4
Hi

I need script that will change from 1 to 0 in database (after 5 minutes)(just timer script to change to 0).

\/
this
$stat = mysql_query("UPDATE accounts SET allow = 1 WHERE id = '$kfhjeqwr'");

to
$stat = mysql_query("UPDATE accounts SET allow = 0 WHERE id = '$kfhjeqwr'");

Plx? :D
 
Can't you do:
PHP:
$stat = mysql_query("UPDATE accounts SET allow = ".(time()+5*60)." WHERE id = '$kfhjeqwr'");

and then adjust the check?
 
let me check

- - - Updated - - -

Can't you do:
PHP:
$stat = mysql_query("UPDATE accounts SET allow = ".(time()+5*60)." WHERE id = '$kfhjeqwr'");

and then adjust the check?

its not dissapear :s or i dont know how to use function to check if its end

is it good to check end?
$losadf = ".(time()+0*0).";
 
Last edited:
Back
Top