syntax error, unexpected T_STRING

Hello,
This site I’m working on is http://www.granitezone.co.uk/blog
I am trying to get a wordpress blog to load within the that sites design.

When I replace “trying to get blog to show here” with my script I get this error:
Parse error: syntax error, unexpected T_STRING in blog/index.php on line 5

Here is the script:
[php]<?

include ("???.php");

$content .= ““define(‘WP_USE_THEMES’, true); require(’./wp-blog-header.php’);””;

//$content .= "


trying to get blog to show here



"

//This grabs the OR template and puts in all the above content
$output = GrabItAll($content, “…/template.html”);

//Output everything to the browser.
echo $output;

?>[/php]

I appreciate any help you can give me.

there is no semi-colon at the end of the statement
;

[php]$content .= "


trying to get blog to show here



"

[/php]

Thanks for your reply. That code was just used to show the location I am trying to put the blog script, between the top menu and links below.

This is the code I am getting the error:
$content .= ““define(‘WP_USE_THEMES’, true); require(’./wp-blog-header.php’);””;

Hi there,

Replace that line with:
[php]$content .= define(‘WP_USE_THEMES’, true);
require(’./wp-blog-header.php’);[/php]

LOL you know what is funny Smokey, I saw the double quotes and thought gees is there something new that I just don’t know about, so I left it unsaid I should have remarked I am glad you did 8)

Thanks smokey, thanks for not leaving anything unsaid and helping this rookie out. That worked. For whatever reason the blog is at the top and not under the menu but I’ll try to figure that out.

try putting the blog in its own table, that will usually straighten it up!!
$content .= "




trying to get blog to show here



";
Sponsor our Newsletter | Privacy Policy | Terms of Service