Delete any record from database

<?php $delid = $_GET['delid'] ; $delqry = "delete from table where table_id ='".$delid."'"; $deleteqry = mysqli_query($connection,$delqry); ?>

5 Responses

Please upload the update query..!!
update the record
ok..main abi post karta hn
This has a huge security hole. Please either filter $delid to allow only integers, or parameterize your query.
ok thanks...

Write a comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.