我尝试把数据和删除功能的链接。我可以获取值的链接,但删除按钮不起作用。我该如何解决?谢谢
<table width='100%'>
<tr>
<td style='font-weight:bold;'>Yol</td>
<td width='10' style='font-weight:bold;'>:</td><td>Faz<?= $veri[5] ?> >
<?= $aciklamalar[0][5] ?> > <?= $aciklamalar[0][3] ?> > <?= $veri[1] ?> </td></tr>
<tr><td style='font-weight:bold;'>Node Tipi</td><td style='font-weight:bold;'>:</td>
<td> <?= $veri[7] ?> </tr><tr><td style='font-weight:bold;'>Toplam Yön</td>
<td style='font-weight:bold;'>:</td><td><?= $toplamyonaciklama[0][0] ?></tr><tr>
<td style='font-weight:bold;'>Görüntüler</td><td style='font-weight:bold;'>:</td>
<td>
<? foreach($sistemResimleri as $sistemResimleri2){
echo "<a href='../phps/sistemGoruntuleme.php?resimLinki=".$sistemResimleri2[1]."&faz=".$veri[5]."&bolge=".$aciklamalar[0][5]."&il=".$aciklamalar[0][3]."&merkez=".$veri[1]." 'onclick='return hs.htmlExpand(this,{ ".$a.",".$b.", width: 700, height:500 })'>".$sistemResimleri2[1]." </a> <button width: 50px; height: 50px; onclick='deleteFunction($sistemResimleri2[0])'>Delete</button> <br/> ";
}?></td></tr></table>
function deleteFunction($pic_id)
{
$picid=x;
$sql="delete sysrom where picId =$picid";
$_SESSION["VT"]->doQuery($sql);
}