I want help in the following code.
I wanna chnage the following script into a single button , which sends the vale "5".
I don't want the dropdown menu , just want a single rate button , which will post vale "5" only.
Thanks in advance.
I wanna chnage the following script into a single button , which sends the vale "5".
PHP Code:
print '<form action="file.php?file='.$file.'&sort='.$sort.'&p='.$p.'" method="post">
<div>
<select name="rating">
<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><br/>
<input type="submit" value="Rate"/>
</div>
</form>';
Thanks in advance.
Comment