Php Include

[codesyntax lang=”php” container=”div”]

<html>
<body>

<?php
include("header.php"); // include header content
?>
Welcome To The Candy Shop <br>
<?php
include("footer.php"); // include footer content
?>

</body>
</html>

[/codesyntax]

[codesyntax lang=”php” container=”div”]

<!-- Header Content -->

<a href="index.php">Home</a> |
<a href="products.php">Products</a> |
<a href="aboutUs.php">About Us</a> |
<a href="contactUs.php">Contact Us</a> |<br>

<!-- End Header Content -->

[/codesyntax]

[codesyntax lang=”php” container=”div”]

<!-- Footer Content -->

Copyright © 2010 TheCandyShop.com

<!-- End Footer Content -->

[/codesyntax]

[codesyntax lang=”php” container=”div”]

<html>
<body>

<?php
include("header.php"); // include header content
?>
List of our products <br>
<?php
include("footer.php"); // include footer content
?>

</body>
</html>

[/codesyntax]

[codesyntax lang=”php” container=”div”]

<html>
<body>

<?php
include("header.php"); // include header content
?>
About Us...<br>

<?php
include("footer.php"); // include footer content
?>

</body>
</html>

[/codesyntax]

 .

Lasă un răspuns

Adresa ta de email nu va fi publicată. Câmpurile obligatorii sunt marcate cu *