alexszilagyi Posted August 23, 2007 Share Posted August 23, 2007 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] Quote Link to comment Share on other sites More sharing options...
Jessica Posted August 23, 2007 Share Posted August 23, 2007 Did you look at the LINE it references? We can't help without the code. Edit: Well, maybe someone will download your attachment, but certainly not me. POST the relevant code. Quote Link to comment Share on other sites More sharing options...
alexszilagyi Posted August 23, 2007 Author Share Posted August 23, 2007 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: Thank you for help! Quote Link to comment Share on other sites More sharing options...
lemmin Posted August 23, 2007 Share Posted August 23, 2007 Put php after the ? on line 21 like this: <frameset rows="25<?php if ($fetch->bar == "1"){ ?>,*<?php } ?>" cols="*" framespacing="0" frameborder="NO" border="0"> Quote Link to comment Share on other sites More sharing options...
Jessica Posted August 23, 2007 Share Posted August 23, 2007 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"> ...... Quote Link to comment Share on other sites More sharing options...
wildteen88 Posted August 23, 2007 Share Posted August 23, 2007 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"> Quote Link to comment Share on other sites More sharing options...
alexszilagyi Posted August 23, 2007 Author Share Posted August 23, 2007 Thank you very much lemmin!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! It works! Thank you all! Have a nice day! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.