Update add_record.php

had accidentally replaced an elseif with an if from another spot in the file.  fixed.