cancel
Showing results for 
Search instead for 
Did you mean: 

getting PHP error

Highlighted
Established Member

getting PHP error

Parse error: syntax error, unexpected T_STRING, expecting T_CONSTANT_ENCAPSED_STRING when trying to use Constant Contact API v2 Add/Update Contact

1 REPLY 1
Honored Contributor

Re: getting PHP error

Hello,

 

Normally this error is present when you have a set of mismatched single(') or double(") quotes in your PHP code. When PHP displays an error like this, it should give you a specific line number and file name where you can find the error. If you start by looking at the first few lines of code above and below the line of code specified in the error, that should help you find the mismatched quotes.

 

Sincerely,

Elijah G.
API Support Engineer