Error 405 when sending variable with a Select


I have my code with a select that brings the variables of the database, but at the time of editing, I get the error, but curiously, it is at the moment of changing nothing else.

    <select class="form-control" name='canon'>
        <option <?php if($fila1['canon']=='Bueno'){ echo "selected";}?> value="Bueno">Bueno</option>
        <option <?php if($fila1['canon']=='Regular'){ echo "selected";}?> value="Regular">Regular</option>
        <option <?php if($fila1['canon']=='Malo'){ echo "selected";}?> value="Malo">Malo</option>

This is my code, but the funny thing is that I have other select with the same dynamic, but they work perfectly for me, it is only with these select parts of the weapon, I do not know what to do or where I can be wrong.

asked by Rafael Gaitan 05.01.2019 в 17:04

0 answers