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:
>[EMAIL PROTECTED] For additional commands, e-mail:
>[EMAIL PROTECTED] To contact the list administrators, e-mail:
>[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]