problem deleting particular row record
i am working in admin section to manage records. There i have records from serial no.38 to 43. I have a option to delete each single record with delete button provided with each single record. The problem i m getting in deleting is
1) when i click delete buton at record no.38 then the record no.43 gets deleted.
2) Then again when i click delete buton at record no.39 then the record no.41 gets deleted.
this the code
$qry_del="select * from order_detail_table";
//echo "test". $row_del['order_id'];
$qry_del="DELETE from order_detail_table where order_id=$order_id AND serial='$serial'";
$msg="item deleted success";
$msg="item not deleted";