Asday Posted July 18, 2007 Share Posted July 18, 2007 How do I fix this message: Parse error: syntax error, unexpected $end in C:\xampp\htdocs\index.php on line 50 For this code: ... <br /><br /><form action="index.php" method="post"> Rand-: <input type="checkbox" name="rand-" checked="checked" /><br /> Date-: <input type="checkbox" name="date-" checked="checked" /><br /> For--: <input type="checkbox" name="for--" checked="checked" /><br /> Count: <input type="checkbox" name="count" checked="checked" /><br /> New--: <input type="checkbox" name="new--" checked="checked" /><br /> <input type="submit" value="Clicky!" /> </form> // line 50 (I know the code's probably wrong, I've been messing around with it, to try and fix the error, but I have no idea) Any help would be greatly appreciated. Thanks. EDIT: The code is an html block in a php script. line 50 is the end. EDIT: Haha, nevermind, I forgot to close an if statement up near the top of the script. Sorry. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.