Ejemplo n.º 1
0
    $creditore = $row["nome"];
    ?>
<div id="<?php 
    echo $creditore;
    ?>
" class="modal fade" role="dialog">
  <div class="modal-dialog">
	<!-- Modal content-->
	<div class="modal-content">
	  <div class="modal-header">
		<button type="button" class="close" data-dismiss="modal">&times;</button>
		<h4 class="modal-title">Lista Dettaglio Spese</h4>
	  </div>
	  <div class="modal-body">
		<?php 
    $debiti = $db->lista_debiti($creditore);
    ?>
		
		<table class="table table-condensed">
			<thead>
			  <tr>
				<th> Data Inserimento </th>
				<th> Causale </th>
				<th> Importo </th>
			  </tr>
			</thead>
			<tbody>
			  <?php 
    echo "<tr><td><b>DA AVERE</b></td></tr>";
    while ($debito = $debiti->fetchArray()) {
        echo "<tr>";