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 115115
116116$ j = count+($ c ++);
117117
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> " ;
119119$ today =date_format (date_create (date ("Y/m/d " )), 'Y/m/d ' )."<br> " ;
120120
121121$ endTimeStamp = strtotime (date ("Y/m/d " ));
122- $ startTimeStamp = strtotime ($ row ['duedate ' ]);
122+ $ startTimeStamp = strtotime ($ row ['due_date ' ]);
123123$ timeDiff = abs ($ endTimeStamp - $ startTimeStamp );
124124
125125$ numberDays = $ timeDiff /86400 ; // 86400 seconds in one day
133133<td><?php echo $ row ['card_no ' ]; ?> </td>
134134<td><?php echo $ book ['title ' ]; ?> </td>
135135<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>
137137<td>
138138<input type="hidden" name="countdays" value="<?php echo $ numberDays ; ?> ">
139139<?php echo $ numberDays ; ?> </td>
You can’t perform that action at this time.
0 commit comments