<?php 
        $sql = mysql_query("select * from kardex where fecha='$hoy' and tipo='Recibido'") or die(mysql_error());

?>
					<table id="kardex" class="table table-hover" data-page-length='8' style="width: 100%">
						

			
		
              <th>Mercancia</th>
              <th>Recibidas</th>
         
            
              
						
						<tbody>
            <?php while($r=mysql_fetch_array($sql)){
            
              $c++;
             
              
              ?>
							<tr>
			
             
								<td><i class='bi bi-sticky'></i> <?php echo substr($r["descripcion"],0,20)?>
               ,<?php echo $r["ticket"]?>      
                </td>
                 <td><?php echo decimal($r["cantidad"])?></td>
              
               
             

							</tr>
                                                        <?php }?>
						</tbody>
            <tfoot>
              <br>
             
            </tfoot>
					</table>