I got two issues I think

I got a edit.php page and it has a form that should update a mysql record but it is not doing so

If I don't select any active or inactive radio button, I get the following error

Notice: Undefined index: status in /home/sites/irhwebsites.com/public_html/sites/sgr/admin/edit.php on line 18

If I do select a active or inactive radio button, the form just resets itself and does nothing

I have pasted the coding from the edit.php into pastebin and included the link below


just can't work out where it is going wrong

Thank you in advance