PHP Include Files :: PHP :: Webmaster :: WiKi :: GSC Network
  • Art related
  • Graphic Design
  • Tutorials and Freebies
  • Community submit news

PHP Include Files

Posted by HANIBALL | 01 March 2015 0

P HP include Examples

Example 1 - Footer

<?php
echo "<p>Copyright &copy; 1999-" . date("Y") . " WEBLine.info</p>";
?>


 <?php
 echo "<span>Designed & Powered by <a href='http://webline.info' target='_blank' class='Copyright'>WEBLine ~ GROUP</a></span>";
?>

<?php include 'footer.php';?> 


 

 

Example 2 - Menu

<?php
echo '<a href="/index">Home</a>
<a href="/html">HTML Tutorial</a>
<a href="/css">CSS Tutorial</a>
<a href="/js">JavaScript Tutorial</a>
<a href="/PHP">PHP Tutorial</a>';
?>


<a href="/index">Home</a>
<a href="/html">HTML Tutorial</a>
<a href="/css">CSS Tutorial</a>
<a href="/js">JavaScript Tutorial</a>
<a href="/PHP">PHP Tutorial</a>


<div class="menu">
<?php include 'menu.php';?>
</div> 


 

 

 

0 Comments

Leave a Comment

latest posts from Webmaster

Webmaster

PHP Include Files

PHP Tutorial

Posted on 01 March 2015 in PHP | 0 comments

HTTP Status Messages

HTTP Messages

Posted on 01 November 2012 in HTML | 0 comments

URL Encoding Reference 2

URL Encoding Reference 2

Posted on 01 November 2012 in HTML | 0 comments

URL Encoding Reference 1

URL Encoding Reference 1

Posted on 01 November 2012 in HTML | 0 comments