So I've copied all the code from the book and each time I get the following error.
"Parse error: syntax error, unexpected '' (T_ENCAPSED_AND_WHITESPACE), expecting identifier (T_STRING) or variable (T_VARIABLE) or number (T_NUM_STRING)" I thought this was a problem with the structure of my code, however I downloaded the Official Digital examples as said in the book and they return the same Parse Error. I've googled around and I am at a complete loss on how to fix the error.
Any help would be appreciated.
Help get this topic noticed by sharing it on Twitter, Facebook, or email.
I passed your message on to the author to find out what he recommended and he responded:
It sounds like he typed in all that code which is bound to introduce errors. I would recommend he downloads the tested and working files from the following URL:
Let me know if you continue to have trouble.
I hope that helps,
O'Reilly Book Support