Alright, I was sorta bored, so I decided to code up some sort of card game. It's really pretty stupid, but what's bothering me is that when I went to fire it up (http://www.patthegreat.com/cardgame.php, I got the following error:
I've been all over the code, and I really really can't find anything wrong with it. I suspected that I forgot to close a quote or a bracket or something, but I can't find any of those.
The code is here: http://www.patthegreat.com/cardgame.txt
I would really really appreciate if someone were to look that over and help me figure out what's going wrong. The error occurs at the big echo tag (echo "<img src=images/cards/$cards['0'...). Thanks so much!
| Quote: |
| Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/patthegr/public_html/cardgame.php on line 64 |
I've been all over the code, and I really really can't find anything wrong with it. I suspected that I forgot to close a quote or a bracket or something, but I can't find any of those.
The code is here: http://www.patthegreat.com/cardgame.txt
I would really really appreciate if someone were to look that over and help me figure out what's going wrong. The error occurs at the big echo tag (echo "<img src=images/cards/$cards['0'...). Thanks so much!
