<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:
Posts (Atom)
phprunner view custom filed status
if ($value=="Process") $str.='<img src="1.png">'; if ($value=="Receive") $str.='<i...
-
if ($value=="Process") $str.='<img src="1.png">'; if ($value=="Receive") $str.='<i...
-
Sample Php Runner Popup Center Page Sample JS <script type="text/javascript"src="http://code.jquery.com/jquery...
-
<?php if(isset($_POST['submit'])) { $url = $_POST['url']; $check = substr($url,0,11); if($check == "htt...