<?php if(isset($_REQUEST['action']))
{
$value=$_REQUEST['check'];
foreach($value as $ids)
{
$mdelete="DELETE FROM songs WHERE id='".$ids."'";
mysql_query($mdelete);
}
} ?>
ahsan1 0
Newbie Poster
Recommended Answers
Jump to PostDOn't use $_REQUEST if you can help it. Be specific with $_POST or $_GET.
All 5 Replies
vibhaJ 126
Master Poster
diafol
metalix 0
Posting Whiz in Training
phpuser 1
Junior Poster in Training
KamranArshad 0
Light Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.