Roosevelt author 10/19/2022 | |
Mr. Admin, sending a manual page for reference. Example 1 Disable editing of data in a certain table on weekends: $dw = date("w", time()); Example 2 Enable editing of only the records with odd IDs (1,3,5 ...): if ($values["ID"] & 1) |
H
|
hudster 10/19/2022 |
Not an expert in this - especially from the PHP perspective, but I have used the MySQL query here - create a new field in the table "date difference" AS the difference between now() and end date. This link in the forum is helpful - last post https://asprunner.com/forums/topic/23968-date-differences-in-phprunner or this page https://xlinesoft.com/phprunner/docs/isrecordeditable.htm |
fhumanes 10/20/2022 | |
Hello, Phprunner has an event to do this type of control.
(1), is the table in which you want to do control Cheers, |