www.un.org/Depts/DGACM/index_spanish.htm UPDATE ....
我希望任何人都能够解决这一问题。
when I use <td>
tag to show my data inside Modal popup the table is shown scatters ...
当使用<代码><h5>时,每一件均是K
这里是我的模式守则。
<div id="myModal<?php echo $row[ id ];
$x = $row[ id ];
?>" class="modal fade" role="dialog">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">×</button>
</div>
<div class="modal-body">
<?php
$records = mysqli_query($conn,"select * from trans where id = $x ");
while($row = mysqli_fetch_array($records))
{
?>
<!--
<td> <?php echo $row[ id ]; ?></td>
<td> <?php echo $row[ date ]; ?></td>
<td> <?php echo $row[ invNO ]; ?></td>
<td> <?php echo $row[ income ]; ?></td>
-->
<h6>ID : <?php echo $row[ id ]; ?></h6>
<h6>Date : <?php echo $row[ date ]; ?></h6>
<h6>inv No : <?php echo $row[ invNO ]; ?></h6>
<h6>income : <?php echo $row[ income ]; ?></h6>
<?php
}
?>
</div>
</div>
</div>
</div>