php - How to set a row value from the next row value in a same column View Yii? -


i have table timesheet :

the table show timesheet same id_voyage_order:

the table show timesheet same id_voyage_order

based on picture above, now, want make value of duration column next row value in view yii .

i want make :

ps. change duration value in database make picture want:

ps. change duration value in database make picture want

how can make in controller or/and in view yii?


Comments

Popular posts from this blog

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

nginx - phpPgAdmin - log in works but I have to login again after clicking on any links -