Posted by tommylux on 02/12/07 00:28
peter, very new to php so forgive me that i dont understand fully of
your last post.
so I want the breadcrumbs with hyperlinks at the top of the page
before i include the content.php. Template page:
=========
Normal HTML template...
<?php print($breadcrumb); ?>
Normal HTML template...
<?php include("/home/embers-o/public_html/progress/breadcrumb/
content.php"); ?>
=========
My content php would look like:
=========
<?php $breadcrumb= "<a href=\"index.php?page=home\">HOME</a>   »
  <a href=\"index.php?page=contact\">CONTACT US</a>"; ?>
Normal HTML Content...
=========
It works when i put the: $breadcrumb after the content but not before.
Not sure how to implement the echo in your suggestion. maybe in the
template page:
please help
Tom
On Feb 12, 12:05 am, "petersprc" <peters...@gmail.com> wrote:
> One way would be to paste the contents of content.php into the calling
> script:
>
> <? echo $bread; ?>
>
> [...content...]
>
> Are you getting an error currently?
Navigation:
[Reply to this message]
|