WordPress: Display Single Post-Collection of common programming errors
If this is literally copy & paste out of your file, then you’ve somehow gotten a curly quote, which I believe would cause that error in PHP. Look closely at:
query_posts(‘p=143')
The character before p is NOT a ‘ so rewrite it as:
query_posts('p=143')
and try again.
I think you somehow have curly quotes on both ends of the argument. The only legit quoting characters are ‘ and ” — are you using MS word to write your code?