![]() |
Error??
Can someone help with this
I have tried putting ; after the last > still does not work though. Parse error: parse error, unexpected '\"', expecting ',' or ';' in /home/usr/public_html/category.php on line 26 echo "<link href=""\"/base.css\" rel=\"stylesheet\" type=\"text/css\"> |
Try this:
<link rel="stylesheet" href="base.css" /> |
Same here is what I have now
http://realwebhost.net/category.php PHP Code:
|
Take the echo " out of it and try it. Just like I gave you.
|
Now get error line 29 is the first <tr>
Parse error: parse error, unexpected '<' in PHP Code:
|
you have to escape all double quotes \" that are inside other double quotes
PHP Code:
|
Getting error on line 15 in code below which is
PHP Code:
and look at bottom here is file PHP Code:
|
try this:
PHP Code:
there are better ways of fixing this, but i rushed that... lol it shud still work tho |
Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ',' or ';' in /home/user/public_html/category1.php on line 18
echo "<a href=""\"".$_SERVER['$PHP_SELF']."?cid=$cid\">$cname</a><br>"; |
Note: every time I use a | below it's really a backslash (sometimes the board parses them):
PHP Code:
|
ok just about there, I have included page category.php which is the page above with your last change into http://realwebhost.net/faq1.php. Has you can see the page opens up great with all information looking the way it should. Now click on one of the catergories watch the page, the table and footer get screwy.
Joey |
1 Attachment(s)
We have attached the 2 files for you to look at.
|
faq1.php seems to be the specials page by its self actually...
|
<a href="http://www.realwebhost.net/faq1.php" target="_blank">http://www.realwebhost.net/faq1.php</a>
works here you might need to refresh or something |
Just a note: you seem to be doing this alot ""\"" all you need is \"" an escaped quote and then a quote to exit out of the string, what you were doing with ""\"" is exiting then entering back into the string THEN escaping a quote and exiting again
PHP Code:
PHP Code:
|
It's not $_SERVER['$PHP_SELF'], it's $_SERVER['PHP_SELF'].
|
That is what I have can someone around here tell me how to fix the font and footer problem please/.
|
Ok here is the file it is included in faq1.php as a include file.
http://www.realwebhost.net/faq1.php go there and click on one you will see the problem. PHP Code:
|
This should be an easy fix. You posted this in your first post:
echo "<link href=""\"/base.css\" rel=\"stylesheet\" type=\"text/css\"> You are missing a " at the end of that line, plus some additional "'s - it should look like this: echo "<link href=\"/base.css\" rel=\"stylesheet\" type=\"text/css\">" Try that and see... |
not easy as you think when i make the change you requested I lose all my categories. Sorry
|
@Erwin it was a multi-line echo, if you look down farther you'll see where it ended
|
can anyone help with this?
|
All times are GMT. The time now is 07:57 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|