F
F
Ferz6662016-02-12 08:48:12
PHP
Ferz666, 2016-02-12 08:48:12

What values ​​and in what case should be inserted?

There is an instruction for the script, but the 2nd point is not entirely clear to me, or rather, what value should be inserted instead of "99 0:00:0"

1. Open home.php (/resource/page/)
This code is to be inserted where eating commentary "HERE"
$NewDate = date ('Y-m-d H: i: s', strtotime ($Row ['date']. "-1 Days"));
$Row ['date'] = $NewDate;

-1 Days, + 1 days, +1 week, +2 days, +4 hours, -21 seconds - all these commands allow you to change the time for some period
These may be used alone, or together but without commas
2. It is necessary to change the display in the admin applications that expect payment (time ischerpnno)
Open admin.php (/ resource / page /)
Looking for
$ Query = mysqli_query ($ CONNECT, "SELECT` id`, `sum`,` date`, `adress` FROM` deposit` WHERE `status` = 0 AND` ref` = '0' AND `date` <SUBTIME (NOW (), '0 99: 00: 0') ");

There I left koment "Here it is"
The numbers in the late '99 0:00:0' - this is a sample, if you are all changed in the code above for example 23 hours, there is also need to change to 0 24:00:00

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question