Re: Parse error after end of file

From: Date: Mon, 09 Apr 2001 20:03:43 +0000
Subject: Re: Parse error after end of file
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-47865@lists.php.net to get a copy of this message
At 03:59 PM 4/9/2001, DRN wrote: you need to make sure that ALL your curly brackets are closed and that all lines that require semi-colons have them.... ~kurth
Hi, I am trying to include a header to my document, I my problem is I keep getting a parse error on the line after the header ends. I cannot see what is causing this, can someone see what I have done wrong, the code is below. Cheers for your help, Donald < '> <? if ($no_menu_link==Home) { echo ""; } else { echo ""; } ?> <? if ($no_menu_link==Home) { echo "Home | "; } else { echo "Home | "; } if ($no_menu_link==Catalogue) { echo "Catalogue | "; } else { echo "Catalogue | "; } if ($no_menu_link==Information) { echo "Information | "; } else { echo "Information | "; } if ($no_menu_link==Search) { echo "Search | "; } else { echo "Search | "; } if ($no_menu_link==Contact) { echo "Contact | "; } else { echo "Contact"; } ?> ps. the no_menu_link variable is defined on the page calling the include so that the page does not have a link to itself. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net


« previous php.general (#47865) next »