User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the PHP section within the Web Development category of DaniWeb, a massive community of 456,452 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,607 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our PHP advertiser: Lunarpages PHP Web Hosting
Views: 2357 | Replies: 2
Reply
Join Date: Aug 2004
Posts: 1
Reputation: Icarus73 is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
Icarus73 Icarus73 is offline Offline
Newbie Poster

Error when editing PHP lines in a theme file.

  #1  
Aug 4th, 2004
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!

"<body bg=\"graybg.jpg" "text=\"#000000\" link=\"#363636\" vlink=\"#363636\" alink=\"#d5ae83\">\";

whats wrong with it?

thanks,
tim
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Aug 2004
Location: Coppell, TX
Posts: 8
Reputation: kenleycapps is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
kenleycapps's Avatar
kenleycapps kenleycapps is offline Offline
Newbie Poster

Re: Error when editing PHP lines in a theme file.

  #2  
Aug 4th, 2004
It should be..

[PHP]
"<body bg=\"graybg.jpg\" text=\"#000000\" link=\"#363636\" vlink=\"#363636\" alink=\"#d5ae83\">";
[/PHP]

I THINK. I don't use PHPNuke but it seems you just incorrectly escaped the string.
Current languages this technical polyglot knows:
PHP

Languages this technical polyglot is working on:
C++
Java
XML
Reply With Quote  
Join Date: Jul 2004
Posts: 226
Reputation: PoA is an unknown quantity at this point 
Rep Power: 5
Solved Threads: 6
PoA PoA is offline Offline
Posting Whiz in Training

Re: Error when editing PHP lines in a theme file.

  #3  
Aug 4th, 2004
[PHP]echo "<body background=\"graybg.jpg\" "text=\"#000000\" link=\"#363636\" vlink=\"#363636\" alink=\"#d5ae83\">";[/PHP]

Shoud be working.
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb PHP Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the PHP Forum

All times are GMT -4. The time now is 2:01 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC