Answer the question
In order to leave comments, you need to log in
Find out the date the variable was modified?
There is a code that changes the value of a variable every 3 days.
<?php
$var = 10000;
$increment = 500;
$day = date('j');
$var += $increment * floor(($day-1)/3);
echo $var;
?>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question