| <p>The .table-bordered class adds borders to a table:</p> <table class="table table-bordered"> <thead> <th>No</th> <th>DocName</th> <th>CurrentDate</th> <th>EmpId</th> <th>Page</th> <th>DocFile</th> </thead> <tr> <?php $no = 1; ?> <?php $query = mysql_query("SELECT * FROM hr WHERE (DATE(`currentdate`) = CURDATE()) ORDER BY id DESC") or die(mysql_error()); while ($row = mysql_fetch_array($query)) { ?> <td><?php echo $no; $no++ ?></td> <td> <?php echo $row['DocName'] . ''; ?> </td> <td> <?php echo $row['currentdate'] . ''; ?> </td> <td> <?php echo $row['EmpId'] . ''; ?> </td> <td> <?php echo $row['page'] . ''; ?> </td> <td> <?php echo $row['DocFile'] . ''; ?> </td> </tr> <?php }; ?> </table> </div> |
Sunday, May 21, 2017
php row number auto
Subscribe to:
Post Comments (Atom)
phprunner view custom filed status
if ($value=="Process") $str.='<img src="1.png">'; if ($value=="Receive") $str.='<i...
-
< html > < body > < table > < tr >< td >Text to Save:</ td ></ tr > < tr ...
-
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Simple Modal Popup using JavaScript ...
-
http://www.asprunner.com/forums/topic/22786-sending-record-data-via-sms-twilio/

No comments:
Post a Comment