PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
I have pretty much no knowledge with errors in my PHP code, so for one, could someone please reccomend a site that has a clean list of error messages and how to troubleshoot them? Secondly, could someone help me with this parse error I just got?
Parse error: parse error, unexpected T_IF in c:\program files\apache group\apache\htdocs\viewcomics.php on line 15
Line 15 of my code seems to be fine (this is from a script to view comics as a slideshow):
unexpected T_IF is basically saying the 'if' was unexpected which suggests the problem is on the line before the one you posted. Make sure the previous line has a ; on the end.
Not sure where there's a 'nice' list of the errors.