I have searched to try to find out what is going on and I can't seem to figure it out.
I am trying to follow an online tutorial for a simple rating system and am having trouble.
here is the code
<?php include 'connect.php' $id = $_GET['id']; ?> <form action="rate.php" method="POST"> Choose rating <br> <select name="rating"> <option>1</option> <option>2</option> <option>3</option> <option>4</option> <option>5</option> </select> <input type="hidden" name="id" value="<?php echo $id; ?>"> <p /> <input type="submit" name="submit" value="Rate"> </form>
Here is the error:
Parse error: syntax error, unexpected T_VARIABLE in /home/ahost307/public_html/domain.com/file/rate.php on line 5
any help. I am trying to pull data from my data base.