How can I list all days for this month ? like I need to list from January 1 to January 31 2019 how can I list that days to the table?
for now i have this.
<table class="table">
<thead>
<tr>
<th>DATE TODAY</th>
<th>TIME IN</th>
<th>TIME OUT</th>
<th>ACTION</th>
</tr>
</thead>
<tbody>
<tr>
<td><b><?php echo date("F-d-Y"); ?></b></td>
<!---Date Hidden--> <input type="hidden" name="dateToday" value='<?php echo date("F-d-Y") ?>'>
<td><input type="time" name="timeIn" class="form-control col-md-10"></td>
<td><input type="time" name="timeOut" class="form-control col-md-10"></td>
<td> </td>
</tr>
</tbody>
</table>
for now the output of my current code is just a single date that updates every day, how can I list all the days for this month? or for february? thank you for any advice and guidance.
My EXPECTED output is to list all days in this month. and the other month.
from Newest questions tagged laravel-5 - Stack Overflow http://bit.ly/2FSg9Fg
via IFTTT
Aucun commentaire:
Enregistrer un commentaire