Answer the question
In order to leave comments, you need to log in
How to change the value of a Redbean entry?
There is the following code:
$findone = R::findOne('users', 'username = ?', array($_SESSION['log_data']));
$loadya = R::load('users', $findone->id);
$load_time = $findone->time+50;
$loadya->time = $load_time;
R::store($loadya);
Answer the question
In order to leave comments, you need to log in
$findone = R::load('users', array($_SESSION['log_data']);
$c_time = $findone->time+50;
$findone ->time = $c_time;
R::store($findone );
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question