在 Echo 语句中插入一个 href


Insert A Href Inside Echo Statement

我目前在在线预订系统中工作。我的问题是我 想在下面的删除语句中添加一个 href=" 标签,我正在尝试 一些代码,但它不起作用。

我的代码

<?
echo'<tr class="">
<td class="xedit" id="'.$fetch['id'].'" key="name">'.$fetch['name'].'</td>
<td class="xedit" id="'.$fetch['id'].'" key="lname">'.$fetch['lname'].'</td>
<td class="xedit" id="'.$fetch['id'].'" key="ticketid">'.$fetch['ticketid'].'</td>
<td class="xedit" id="'.$fetch['id'].'" key="vehicle">'.$fetch['vehicle'].'</td>
<td>'.$fetch['pickuptime'].'</td>
<td><div align="right"><a href="'myfelicia'uploads/'.$fetch['billing_image'].'">'.$fetch['billing_image'].'</a></div></td>
<td class="xedit" id="'.$fetch['id'].'" key="status">'.$fetch['status'].'</td>
<td class="delete" id="'.$fetch['id'].'" key="delete">'.$del.'</td></a>
</tr>';
}
?>

谁能帮忙?

希望,这是你想要的

<?php
echo'<tr class="">
<td class="xedit" id="'.$fetch['id'].'" key="name">'.$fetch['name'].'</td>
<td class="xedit" id="'.$fetch['id'].'" key="lname">'.$fetch['lname'].'</td>
<td class="xedit" id="'.$fetch['id'].'" key="ticketid">'.$fetch['ticketid'].'</td>
<td class="xedit" id="'.$fetch['id'].'" key="vehicle">'.$fetch['vehicle'].'</td>
<td>'.$fetch['pickuptime'].'</td>
<td><div align="right"><a href="'myfelicia'uploads/'.$fetch['billing_image'].'">'.$fetch['billing_image'].'</a></div></td>
<td class="xedit" id="'.$fetch['id'].'" key="status">'.$fetch['status'].'</td>
<td class="delete" id="'.$fetch['id'].'" key="delete"><a href="#your_link_goes_here">DELETE</a></td>
</tr>';
?>