Thanks for your reply, basically it is to get votes from user on an image and I am doing like this:
<form method="post" action="vote_frame.php" >
<div id="content-slider">
<ul id="content-slider-inside">
<?php
$q = mysql_query("SELECT * FROM vote_frames");
while ( $r = mysql_fetch_array($q) ) { ?>
<li>
<input type="hidden" name="frame_id" value="<?php echo $r["frame_id"]; ?>" />
<img src="frame_thumbs/<?php echo $r["frame_pic"]; ?>" /> <br />
</li>
<input type="radio" name="vote" value="1"> Vote This Frame <br />
<input type="image" src="image/vote-btn.jpg" BORDER="0" ALT="SUBMIT!" >
<?php } ?>
</ul>
</div>
</form>
Records are fetched, they are ok, Now I need to print counting links associated with the fetched image, so if some one clicks on 2, 2nd record is selected like it does in html.