However when I put this into a PHP page to use as a rating system (the variable would be added to a database eventually) it won't submit the form. I am baffled by this and have tried everything in my power to try and get the page to reload when selecting a drop-down option.
Has anyone had any experience with this problem before? Any alternatives? Thanks in advance.
- Code: Select all
<form name="rankForm" method="get" action="artists.php">
<select name="userRating" onChange=rankForm.submit()>
<option value=""></option>
<option value="10">10</option>
<option value="9">9</option>
<option value="8">8</option>
<option value="7">7</option>
<option value="6">6</option>
<option value="5">5</option>
<option value="4">4</option>
<option value="3">3</option>
<option value="2">2</option>
<option value="1">1</option>
</select>
</form>


