S
S
santavits2018-05-02 20:32:47
PHP
santavits, 2018-05-02 20:32:47

How to delete a specific row from a database using php?

How can I delete a certain row from a table using
php

$sql1 = mysql_query("SELECT `link`,`24`,`48`,`72` FROM `insta`",$db);
while ($result = mysql_fetch_array($sql1)) {
    echo'
  
<table id="tab" border="1px">


<tr>
<td width="65%">'.$result['link'].'</td>
<td width="10%">'.$result['24'].'</td>
<td width="10%">'.$result['48'].'</td>
<td width="10%">'.$result['72'].'</td>
<td width="10%">Удалить</td>
</tr>
</table>
';}

Here's what happens
nswJdpwy.png
when you insert a delete button into the last column?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question