Very new to PHP and would like to create a combo box in which:
that when a user types an new entry into the text box (a value that is sent to the database) it automatically will appear in the select box when the form is next used.
secondly and what is giving me the most problem is how do I create the code that basically tells the database the following "if the text box is empty (i.e. no new entry was typed in) then the database should take the value selected in the select box"
I have spent three days trying to figure this out and can“t
Your help would be greatly appreciated