The following are my table fields:
pk_stu_sub_id | fk_stu_class_id | fk_class_sub_id | fk_user_id | timestamp
What I need to do is delete the row when pk_stu_sub_id = (variable)
but get the value of fk_stu_class_id
before deleting it. I need to write PHP code for this.
Is it possible to do this? If so, then how?