Quantcast
Channel: PHP Freaks: PHP Help
Viewing all articles
Browse latest Browse all 13200

how can i delete value in database through html form?

$
0
0
<?php include('connection.php'); if(isset($_GET['id'])) { $id=$_GET['id']; $query1=mysql_query("delete from news where id='$id'"); if($query1) { header('location:news_list.php'); } } ?>

Viewing all articles
Browse latest Browse all 13200