Good evening.

I've never used php before... I tried...

A simple query told me to use this syntax:

<?php include 'Max-TechFooter.php'; ?>

Another one showed the div's around it, so I tried that, too That's the way it is now:

<!-- Footer -->
<div class="footer">
    <?php include 'Max-TechFooter.php'; ?>
</div>   <!--  End of Footer ID  -->

The final three lines below the footer div:

</div>   <!--  End of Container ID  -->

And here's the entire Max-TechFooter.php file:

    Copyright &copy; 1998-2012 Max-Tech<span class="RegMarkLittle">&#8482;</span>&nbsp;&nbsp;&nbsp;&nbsp;|
    &nbsp;&nbsp;&nbsp;&nbsp;<strong>Service-Disabled Veteran-Owned Small Business</strong>&nbsp;&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;&nbsp;Designed by<a href="" class="MaxTech" target="_blank"> Max-Tech<span class="RegMarkLittle">&#8482;</span></a>
    <br /><br />
    <img src="images/css2gold.png" width="66" height="24" alt="CSS Gold" />&nbsp;&nbsp;
    <img src="images/ECO-2.png" width="100" height="40" alt="ECO-2" />&nbsp;&nbsp;
    <img src="images/xhtmlgold.png" width="66" height="24" alt="Graphic" />

My question: What I be doin' wrong???????

Results can be found at (Any criticism of or suggestions for the web site is appreciated!)

Thank you, in advance, for your time and assistance.

< Steve >

Recommended Answers

All 2 Replies

For a start, what is actually happening? What is wrong? Any errors? Do you have php installed on your server?

Secondly about the website, it looks very unprofessional, like it's from 1998 or something. I would improve it. Add a more professional menu. Have a look at my website: and tell me if that doesn't look clean and tidy.

Anyhow, please get back to me on those questions above.

I suppose your default page is not a php file (as far I have found out it is default.html) and so the <?php include 'Max-TechFooter.php'; ?> code is not working.
you can rename it to default.php and the code will work.
But there may be a problem: if you try "", the default page may not be show unless it is listed in the Directory index. You can google out how to change the default index file in nginx.

I hope that helps.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.