[SOLVED] Â take a previous record value while adding a new record |
2/9/2018 11:36:00 AM |
PHPRunner General questions | |
C
casuva author
Hi |
|
admin 2/9/2018 | |
C
|
casuva author 2/9/2018 |
Check this: https://xlinesoft.com/phprunner/docs/speed_up_data_entry_using_events.htm
last_record.$value["close_km"] >= previous_record.$value["open_km"]; |
admin 2/9/2018 | |
This article shows you how to save entered values in session variables and use them as default values when adding the next record.
$_SESSION["open_km"] = $values["open_km"];
if ($_SESSION["open_km"] && $_SESSION["open_km"]>$values["close_km"]) {
|
C
|
casuva author 2/9/2018 |
Thanks Sergey and so sory. I forget share the file. |
admin 2/9/2018 | |
I already provided the answer. |