IFRAM HELP.

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   IFRAM HELP.
planetgamer
CZ Active Member
planetgamer has been a member for over 19 year's 19 Year Member
Age: 54
Website:
Status: Offline
Joined: May 26, 2004
0.02 posts per day
Posts: 179
Points: 28,076
AIM Address   
I dont no whats going on i did it right i belive ? I get a :

Parse error: parse error, unexpected T_STRING in /www/p/planetgamer/htdocs/modules/battlefieldgraphics/index.php on line 22

This is the index.php


<?php
/********************************************************************/
/*  Iframe Addon 1.6                                                */
/*                                                                  */
/*    Copyright (c) 2002 by Francisco Burzi                         */                           
/*    http://phpnuke.org                                            */
/*                                                                  */
/*    php Iframe Addon 1.6 - Copyright (c) 2002-2004 by Telli       */
/*    Updated 4-03-04                                               */
/*    http://codezwiz.com                                           */
/*    if you need any help http://codezwiz.com/forums.html          */
/********************************************************************/

if (!eregi("modules.php", $PHP_SELF)) {
   die ("You can't access this file directly...");
    }
   
///////////////////////////////////////////////
$index = 1; // 0 right side off
$height = 600;
$iframescreen = ''www.planet-gamer.com/battlefieldgraphics.html/'; // Must be [ Register or login to view links on this board. ]
///////////////////////////////////////////////

include("header.php");
$iframe_block = "
<iframe border=\"0\" src=\"http://$iframescreen\" width=\"100%\" height=\"$height\">
</iframe>";
if ($opi != "ds") {
      opentable();
   echo "$iframe_block";
      closetable();
   }
    include("footer.php");
?>


Please help i belive i did it right i did a ton of iframs before they all worked



_________________
Back to top Reply with quote
#2   re: IFRAM HELP.
jaymullah
CZ Super Newbie
jaymullah has been a member for over 20 year's 20 Year Member
usa.gif northcarolina.gif
Occupation: Freelance Webdesign
Age: 44
Gender: Male
Website:
Status: Offline
Joined: Jan 11, 2004
0.01 posts per day
Posts: 40
Points: 3,244
 Yahoo Messenger MSN Messenger 
Replace line 22
$iframescreen = ''www.planet-gamer.com/battlefieldgraphics.html/'; // Must be [ Register or login to view links on this board. ]


With
$iframescreen = 'www.planet-gamer.com/battlefieldgraphics.html/'; // Must be [ Register or login to view links on this board. ]



You have an extra ' before [ Register or login to view links on this board. ]


Back to top Reply with quote
#3   re: IFRAM HELP.
planetgamer
CZ Active Member
planetgamer has been a member for over 19 year's 19 Year Member
Age: 54
Website:
Status: Offline
Joined: May 26, 2004
0.02 posts per day
Posts: 179
Points: 28,076
AIM Address   
Thanks man i new it had to be something simple.




_________________
Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
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
You cannot attach files in this forum
You cannot download files in this forum