i would like to reload my page on an event.
i have a select box filled with the names of teachers:
<option value= "">-------Select-------</option>
<option value=<? echo $doc_id[$y];?>><?echo $teachername[$y];> </option>
if the user choses his teacher, his abriviation has to come automatically in the cell next to the select box.
so i thought, when the selectbox changes, the site must be reloaded or redirected to an other page that gets the abriviation from the databank and sends it to my teacherspage.
can you make eventfunctions with php?
i tried to explain my problem and i hope you understand what i mean ... thank you !!!