Add and edit addnew.php