Delete specific row in database table

I think I’ve most often seen if($_POST) in conditional tests like
if($_POST['something'] == 'something')

If that line runs a likely message is “Notice: Undefined index”

I can see where a logical expansion would be either
if(isset($_POST['something']) && ($_POST['something'] == 'something'))
then, to be even “safer”
if( ($_POST) && (isset($_POST['something'])) && ($_POST['something'] == 'something'))

I mean, I’m working with POST vars, I’m thinking POST vars, why would I think SERVER ?

Anyway, @Valentin_Gjorgoski putting this Off-Topic aside, have you found a solution?