954,568 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Error when editing PHP lines in a theme file.

I'm using PHPNuke and i get the following error:


Parse error: parse error, unexpected '\"', expecting ',' or ';' in /home/jadedf/public_html/portal/themes/3D-Fantasy/theme.php on line 58

line 58 is below and it is the only line i've played around with in the theme.php file..i'm trying to get an image for my background. help!

"\";

whats wrong with it?

thanks,
tim

Icarus73
Newbie Poster
1 post since Aug 2004
Reputation Points: 10
Solved Threads: 0
 

It should be..

[PHP]
"";
[/PHP]

I THINK. I don't use PHPNuke but it seems you just incorrectly escaped the string.

kenleycapps
Newbie Poster
9 posts since Aug 2004
Reputation Points: 10
Solved Threads: 0
 

[PHP]echo "";[/PHP]

Shoud be working.

PoA
Posting Whiz in Training
237 posts since Jul 2004
Reputation Points: 26
Solved Threads: 9
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You