syntax error, unexpected T_STRING

Status
Not open for further replies.

hamon-12399

New Member
Messages
8
Reaction score
0
Points
0
I am trying to install a new layout for my website and it keeps saying I need to change lin 198

This is line 198

print "<a href="http://donator.php" target="_blank"><b>Donate to {$set['game_name']} now for game benefits!</b></a>
";
}

Please help me edit this if you can =)
 

descalzo

Grim Squeaker
Community Support
Messages
9,373
Reaction score
326
Points
83
PHP:
print "<a href=\"http://donator.php\" target=\"_blank\">
<b>Donate to {$set['game_name']} now for game benefits!</b></a>";

Watch for double quotes inside of a double quoted string. You have to \"escape\" them.
 
Status
Not open for further replies.
Top