File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 115
115
116
116
$ j = count+($ c ++);
117
117
118
- $ start =date_format (date_create ($ row ['duedate ' ]), 'Y/m/d ' )."<br> " ;
118
+ $ start =date_format (date_create ($ row ['due_date ' ]), 'Y/m/d ' )."<br> " ;
119
119
$ today =date_format (date_create (date ("Y/m/d " )), 'Y/m/d ' )."<br> " ;
120
120
121
121
$ endTimeStamp = strtotime (date ("Y/m/d " ));
122
- $ startTimeStamp = strtotime ($ row ['duedate ' ]);
122
+ $ startTimeStamp = strtotime ($ row ['due_date ' ]);
123
123
$ timeDiff = abs ($ endTimeStamp - $ startTimeStamp );
124
124
125
125
$ numberDays = $ timeDiff /86400 ; // 86400 seconds in one day
133
133
<td><?php echo $ row ['card_no ' ]; ?> </td>
134
134
<td><?php echo $ book ['title ' ]; ?> </td>
135
135
<td><?php echo $ stud ['fname ' ]."  " .$ stud ['lname ' ]; ?> </td>
136
- <td><?php echo date_format (date_create ($ row ['duedate ' ]), 'F d, Y ' ); ?> </td>
136
+ <td><?php echo date_format (date_create ($ row ['due_date ' ]), 'F d, Y ' ); ?> </td>
137
137
<td>
138
138
<input type="hidden" name="countdays" value="<?php echo $ numberDays ; ?> ">
139
139
<?php echo $ numberDays ; ?> </td>
You can’t perform that action at this time.
0 commit comments