Shanti C
Posting Virtuoso
1,642 posts since Jul 2008
Reputation Points: 137
Solved Threads: 162
hello..
see that code is not for validating...
for checking checkboxes only...
its working fine for me...
Shanti C
Posting Virtuoso
1,642 posts since Jul 2008
Reputation Points: 137
Solved Threads: 162
ya,this is the continuation code for the above post...
after getting all check boxes you checked,then write this query to delete them(checked)
if(isset($_POST['check_compare']))
{
$tempids=$_POST['check_compare'];
echo $tempids;
$ser_qry="delete from sometable where find_in_set(p_id,'".$_POST['check_compare']."')";
$ser_res=mysql_query($ser_qry);
}
Shanti C
Posting Virtuoso
1,642 posts since Jul 2008
Reputation Points: 137
Solved Threads: 162