���ѧۧݧ�ӧ�� �ާ֧ߧ֧էا֧� - ���֧էѧܧ�ڧ��ӧѧ�� - /home/alphpwcp/pinnaclepath.it.com/us/admin/aboutdelete.php
���ѧ٧ѧ�
<?php include("config.php"); $aid = $_GET['id']; // view code// $sql = "SELECT * FROM about where id='$aid'"; $result = mysqli_query($con, $sql); while($row = mysqli_fetch_array($result)) { $img=$row["image"]; } @unlink('upload/'.$img); //end view code $msg=""; $sql = "DELETE FROM about WHERE id = {$aid}"; $result = mysqli_query($con, $sql); if($result == true) { $msg="<p class='alert alert-success'>About Deleted</p>"; header("Location:aboutview.php?msg=$msg"); } else { $msg="<p class='alert alert-warning'>About not Deleted</p>"; header("Location:aboutview.php?msg=$msg"); } mysqli_close($con); ?>
| ver. 1.4 |
Github
|
.
| PHP 8.2.30 | ���֧ߧ֧�ѧ�ڧ� ����ѧߧڧ��: 0 |
proxy
|
phpinfo
|
���ѧ����ۧܧ�