Code Name Price "; $sql = "SELECT * FROM products w."/> Code Name Price "; $sql = "SELECT * FROM products w."/> Code Name Price "; $sql = "SELECT * FROM products w"/>
خرید بک لینک

Vote count: 0

I have the following table code:

echo "<table border='1'>
        <tr>
                        <th>Code</th>
                        <th>Name</th>
                        <th>Price</th>
                        </tr>";
                        $sql = "SELECT * FROM products where updated_account_ID='$aktiv'";
                        $result = mysql_query($sql);
                        while ($row = mysql_fetch_array($result)) {
                            echo "<tr>";
                            echo "<td>" . $row['code'] . "</td>";
                            echo "<td>" . $row['name'] . "</td>";
                            echo "<td>" . $row['price'] . "</td>";
                            echo "<td>" . "<button name='code' value='".$row['code'] ."'>Delete</button></td>";
echo "</tr>";}

I would like to use jquery to hide or delete the specified row after pressing the "Delete" button which also deletes the record from the database. Could someone be so kind and help be do it? Thank you!

asked 38 secs ago

برچسب: نویسنده: استخدام کار تاريخ: سه شنبه 15 تير 1395 ساعت: 14:55

صفحه بندی