![]() |
Home Community Mys-Script Creative Off-Topic |
|
|
Thread Tools | Display Modes |
#6
|
||||
|
||||
![]()
It took me a while of staring to figure out the problem xD
You're missing quotation marks in some places/ have them in the wrong spots. See this? PHP Code:
PHP Code:
PHP Code:
PHP Code:
Basically have only/make sure you have 2 quotation marks. So the "formula" should be: $document->add(new Comment("CodeGoesHere")); No extra quotation marks should go anywhere inside that line. An easy way to spot these mistakes is looking at your code and seeing if too many of the lines are blue. If your "elseif" statement is blue instead of green, then you probably need to fix the quotation marks. The same goes for "if" statements. "$document" should also always be gold/yellow. Last edited by Dinocanid; 09-21-2016 at 09:44 PM. |
|
|
What's New? |
What's Hot? |
What's Popular? |