<tbody>
<?php foreach($booklist as $book)
{ ?>
<tr>
<td><?php echo $book['bookid']; ?></td>
<td><?php echo $book['bookname']; ?></td>
<td><?php echo $book['author']; ?></td>
<td><?php echo $book['price']; ?></td>
<td>
<a href="<?php echo site_url('home/edit/' . $book['bookid']); ?>" class="btn btn-warning btn-xs"><span class="glyphicon glyphicon-pencil" aria-hidden="true"></span></a>
刪除類,我想這些編輯之間的空間,並刪除圖標 「級=」 BTN BTN-危險BTN-XS「> 如何編輯之間添加空間和PHP的東西線(位&nbsp)
//[i want to have a single space between these two icons][1]//
您可以添加管道「|」之間兩個標籤 –