Hey, I got a problem with mixing php with html, the code is like this:

PHP Code:
<form action="/vote.php?<?=$id?>&vote=true">
Its like a voting system Ive got on vote.php and redirect back to vote.php when you vote and enters the information into the database, but vote.php is in a seperate window opened using javascript (basicly a pop-up). but for someone and isnt sending $id back to vote.php so it can know who voted anyone got any ideas on how to fix this?