CI - Nettuts+ Day 4 - Error, but code looks the same |
[eluser]ktufore[/eluser]
Hi, I've tried to look for other occurrences of this same issue. I'm following along on the great tuts by Jeffrey Way and I've come across an obstacle. This is the error that I receive: Code: ( ! ) Parse error: syntax error, unexpected T_IF in C:\wamp\www\ci\application\controllers\emailnewsletter.php on line 31 This is the code that I have: Code: <?php A couple differences are the name of the file and I actually was receiving an error when sending the emails through googlemail (but it works when using gmail in its place). The original error message referred to the commented out code (//$this->email->attach($file) but then I saw that Jeffrey Way commented that out but then the errors just move down the lines of code. Is there any errata or am I missing something simple? Thanks! |
Messages In This Thread |
CI - Nettuts+ Day 4 - Error, but code looks the same - by El Forum - 04-05-2011, 11:15 AM
CI - Nettuts+ Day 4 - Error, but code looks the same - by El Forum - 04-05-2011, 11:23 AM
CI - Nettuts+ Day 4 - Error, but code looks the same - by El Forum - 04-05-2011, 02:30 PM
|