This forum is now read-only. Please use our new forums! Go to forums

banner
Close banner
0 points
almost 11 years

Parse error: syntax error, unexpected T_STRING, expecting T_VARIABLE on line 14

Here is my code:

Answer 517d31101910072d16001592

3 votes

Permalink

I’ve got it! There was no space betveen function and __Dog :)

points
almost 11 years

Answer 517dbe4af510ad79330011c6

2 votes

Permalink

I had the same error, I forgot to include the word function before __construct.

Spend an hour trying to figure out why it wasn’t working! >:| lol

points
Submitted by Micheal G Kennedy
almost 11 years