I really need help. I have plsvote.php which the student will choose a candidates and here's the code
plsvote.php
<input name="<?php echo $rowasa['pos_name'] ?>" style="margin-left:-19px;" type="radio" value="<?php echo $rows['candid'] . "-" ." ". $rows['lastname'] .",". " ". $rows['firstname'] ?>">
Here's my explanation of why should I put the value like candid
it's because this is the one who will handle the count+1 because it's unique if I will not include the candid it will not count the vote
Here's my preview.php codes:
<h2 class="fs-title"><?php echo $exrxrxrx ?></h2>
<input type="hidden" style = "text-color:white;" value="<?php echo explode("#", $_POST[$exrxrxrx])[0] ?>" name="votes[]" /><?php echo explode("#", $_POST[$exrxrxrx])[0] ?><br>
This is where the value that I put in the pslvote.php
Is there a way that in the preview.php it will not display the candid and disply only the name?