| | |
Error when editing PHP lines in a theme file.
Please support our PHP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Aug 2004
Posts: 1
Reputation:
Solved Threads: 0
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
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
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.
[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
PHP
Languages this technical polyglot is working on:
C++
Java
XML
![]() |
Similar Threads
- read-delete lines from a text file (PHP)
- php included header file wont input code when on the server (PHP)
- Setting an array and reading in a txt file backwards (C++)
- how to remove a number of lines from a text file ? (Python)
- # of lines in a text file (Java)
- $rs=mysql_query($sql) or die("error in common.inc.php at line 257"); (PHP)
Other Threads in the PHP Forum
- Previous Thread: Simple (I think) Code Question
- Next Thread: PHP > Alaric
| Thread Tools | Search this Thread |
apache api array beginner binary body broken buttons cakephp checkbox class cms code cron curl database date date/time display dynamic ebooks echo email error file files folder form forms function functions global google href htaccess html image include insert ip javascript joomla limit link list login mail mediawiki menu mlm msqli_multi_query multiple mycodeisbad mysql number oop parameter paypal pdf php phpincludeissue problem query radio random recourse recursion regex remote script search seo server sessions sms source sp space speed sql static subdomain syntax system table tag tutorial update upload url validator variable vbulletin video web webdesign white wordpress xml youtube





