Jump to content

Need some help! [Please help me]


alexszilagyi

Recommended Posts

Hello!,

 

Need some help with these files! (on Attachment)

 

 

It says: 

 

" Parse error: syntax error, unexpected $end in D:\path\www\logged_in.php on line 34 "

 

 

I don`t know whats the error, if anybody can help me please!

 

Thank you very much!

 

[attachment deleted by admin]

Link to comment
Share on other sites

Here is the code:

 

 

<frameset rows="97,*" cols="*" framespacing="0" frameborder="no" border="0">

  <frameset rows="100,*" cols="*" framespacing="0" frameborder="NO" border="0">

    <frame src="banner.php" name="topFrame1" scrolling="NO" noresize >

    <frame src="UntitledFrame-2"></frameset>

   

  <frameset rows="25<?php if ($fetch->bar == "1"){ ?>,*<? } ?>" cols="*" framespacing="0" frameborder="NO" border="0">

    <?php if ($fetch->bar == "1"){ ?>

<frame src="mini.php" name="topFrame" scrolling="NO" noresize >

<?php } ?>

    <frameset rows="*" cols="200,*" framespacing="0" frameborder="NO" border="0">

      <frame src="menu.php" name="leftFrame" noresize>

      <frame src="main.php" name="middle">

    </frameset>

  </frameset>

</frameset>

 

 

I use Macromedia Dreamwaver but there isn`t 34 line in "logged_in.php"

 

Here is the screen-shot:

screen_shot.jpg

 

Thank you for help!

Link to comment
Share on other sites

One of your opening tags is a short tag

<? instead of <?php

Do you have short tags enabled?

 

Try this:

.....
</frameset><frameset rows="25
<?php 
if ($fetch->bar == "1"){ 
print ',*';
} 
print '" cols="*" framespacing="0" frameborder="NO" border="0">';
if ($fetch->bar == "1"){ 
print '<frame src="mini.php" name="topFrame" scrolling="NO" noresize >';
}
?>
<frameset rows="*" cols="200,*" framespacing="0" frameborder="NO" border="0">
......

Link to comment
Share on other sites

EDIT: Ohh, beatin to it :(

 

Change this line:

<frameset rows="25<?php if ($fetch->bar == "1"){ ?>,*<? } ?>" cols="*" framespacing="0" frameborder="NO" border="0">

to:

<frameset rows="25<?php if ($fetch->bar == "1"){ echo ',*'; } ?>" cols="*" framespacing="0" frameborder="NO" border="0">

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.