PHP Web Host - Quality Web Hosting For All PHP Applications Free RavenNuke(tm) Add Ons
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
Muffin
Client


Joined: Apr 10, 2004
Posts: 649
Location: UK

PostPosted: Wed Sep 08, 2004 10:19 am Reply with quote Back to top

I'm attempting to make my first centre block.

Each year on 10 September I put candle and memorium for 9/11 and all people all over the world that have lost loved ones thru a terrorist attack.

This year because I now have a Nuke site, I want to put it in a top centre block. But I'm having trouble.

Can someone help me please?

Here's the error I'm getting when I want to view the block before activating it

Quote:
Parse error: parse error, unexpected T_STRING in /home/minicity/public_html/nuke/html/blocks/block-Candle_Block.php on line 6


And here's my block file:

Quote:

<?php
if (eregi("block-Candle_Block.php",$_SERVER['SCRIPT_NAME'])) {
Header("Location: index.php");
die();
}
$content = "<center><img src="http://www.minicitymag.com/images/candle.gif"><br><br>In memory of all those who have lost their lives through terrorist attacks
around the world.<br><br>Our thoughts to all those that have lost a
child, parent, grandparent, friend and loved ones.<br><br>After 9/11
mCm remembers that dreadful day each year by lighting a candle of
rememberance to everyone in any country that has suffered from
terrorist attacks, and each year there are more countries who are being
attacked. Is anything really worth all the mass slaughter that is
happening</center>";
?>


For the life of me I can't see that I've missed a closing } or "; anything else lol

I'd be really grateful if someone could point me in the right direction
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Wed Sep 08, 2004 10:35 am Reply with quote Back to top

You have not escaped the qouotes within quotes. Use \" on all quotes except the beginning and ending ones Wink
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
Muffin
Client


Joined: Apr 10, 2004
Posts: 649
Location: UK

PostPosted: Wed Sep 08, 2004 10:39 am Reply with quote Back to top

OIC

lol

thank you Raven.

Just to clarify cos I'm not the brightest of bunnies, I have to put this right? :


$content = "<center><img src=\"http://www.minicitymag.com/images/candle.gif\"><br><br>In memory of all those who have lost their lives through terrorist attacks
around the world.<br><br>Our thoughts to all those that have lost a
child, parent, grandparent, friend and loved ones.<br><br>After 9/11
mCm remembers that dreadful day each year by lighting a candle of
rememberance to everyone in any country that has suffered from
terrorist attacks, and each year there are more countries who are being
attacked. Is anything really worth all the mass slaughter that is
happening</center>";

is that what you mean? (sorry)

Edit

Woohoo! It works! It works rofl

Thank you Rave ((((((((((((((Smoooooooooooch)))))))))))))


sorry got carried away ! lol


Last edited by Muffin on Wed Sep 08, 2004 10:48 am; edited 1 time in total
View user's profile Send private message
Tao_Man
Involved
Involved


Joined: Jul 15, 2004
Posts: 252
Location: OKC, OK

PostPosted: Wed Sep 08, 2004 10:44 am Reply with quote Back to top

Nailed it in one!
That is what he was talking about.
View user's profile Send private message Visit poster's website
Muffin
Client


Joined: Apr 10, 2004
Posts: 649
Location: UK

PostPosted: Wed Sep 08, 2004 10:49 am Reply with quote Back to top

Ooops you posted after I edited my post rofl

hehehehe

Thank you!

Wanna nuvver kiss? huh? huh? lol
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Wed Sep 08, 2004 11:23 am Reply with quote Back to top

Always Wink
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
Muffin
Client


Joined: Apr 10, 2004
Posts: 649
Location: UK

PostPosted: Wed Sep 08, 2004 4:21 pm Reply with quote Back to top

ROTFL
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum