I'm not sure if this is even possible and my research is not resulting in much. I have a program I'm giving to a client with an admin page. I need him to be able to add new inspectors to the html drop down selector if someone is hired. I'm able to append it as you see below but is it some way possible to make these changes permanent without having him make physical changes to the code?
The form (p tag just for testing and I'd like the new appended option tag to stick)
HTML
<p>Add inspector</p>
<select id="mySelect" name="inspector">
<option value=1>Ramond Valez</option>
<option value=2>Daniel Rivera</option>
<option value=5>Jimmy Smith</option>
<option value=6>Jasmine Green</option>
</select>
PHP
$id = 79;//these are just for testing. Real database inputs will replace theses
$name = "Dylan";
jQuery
$(document).ready(function(){
$("p").click(function(){
$('#mySelect').append("<option value='<?Php echo $id; ?>'><?php echo $name; ?></option>")
});
});